After the second season of "Stargate Atlantis", cast and crew members hinted that McGillion might depart from the series. Reports in November 2006 confirmed that Beckett would "disappear" somewhere in the second half of the third season, and would only appear in several episodes in the fourth season. Jewel Staite was announced to play Dr. Keller, the new doctor of the Atlantis expedition. McGillion learned of the writers' exact plans for Beckett's departure in "Sunday" two months before the episode was filmed. He said that he cried when reading the episode's script. Producer Joseph Mallozzi regretted killing off Dr. Beckett after seeing the fans' reactions, and claimed there was a 'clue' in a late-season 3 episode that hinted at Beckett's re-introduction. After Beckett's reappearance in the fourth-season episode "The Kindred", Mallozzi confirmed that Beckett had not ascended upon his death, that McKay had only imagined Beckett at the end of "Sunday", and that the character in "The Kindred" was Beckett in the flesh instead of a version from an alternate universe or from the past. A press release for season 5 mentioned that Beckett would return for at least five episodes in the new season.