Rachel was almost written off the show or recast in Friends because she had a contractual obligation to another show called Muddling Through. Luckily, that show was canceled and she continued on as Rachel Green.