Out of Mind

Out of Mind is the twenty-second episode of the second season of Stargate SG-1. It is also the first part of a two-part season finale.

Plot
Jack O'Neill awakens from cryogenic stasis pod and is informed that his team and everyone he knew, is dead. He is told that they are in Stargate Command and 79 years have passed. Now there are 28 SG teams and another 10 occupy offworld colonies. Earth is still fighting the Goa'uld and is losing. To find out what race could have put him in cryogenic suspension, they connect him to an interface to remember key events from his past using a Tok'ra memory device; these memories are displayed to them, (and represented to as snippets of previous episodes). It wasn't the Nox nor the Asgard. Suddenly, Jack slips into a coma. Meanwhile, in another room, the SGC is bringing up another stasis pod... which Samantha Carter and Daniel Jackson awaken individually from. They are each informed that they are the sole survivor of SG-1.

Meanwhile, Teal'c awakens in the real SGC and is informed that he was left for dead by the Stargate and SG-3 and SG-7 and has been unconscious for three weeks. Teal'c declares his intentions of finding his friends, which Hammond finds pointless, since they'd been searching all over that galaxy and found no trace of SG-1. Teal'c then leaves the SGC and goes to Chulak.

Sam taps into her memories of when they destroyed Apophis' two motherships.

Daniel recounts his memories of the System Lords they faced: Apophis, Heru'ur and Hathor.

Jack wakes up to hear his "rescuers", talking in Goa'uld. He knocks out the man looking after him and takes his clothes. O'Neill discovers he is actually in a mock-up of the SGC inside a Goa'uld compound. He hides from a Snake and Horus Jaffa. He finds similar mock-ups and rescues the other members of his team. They want to know who would make a mock-up of the SGC and who would know so much of its design. Suddenly, Hathor appears and they are surrounded by Jaffa and minor Goa'uld. Hathor wants the information from SG-1 of how to contact the Asgard and the iris codes. When they would not speak, she announces her intent to implant one of them with a Goa'uld symbiote. The episode ends with Hathor ominously holding out a mature Goa'uld symbiote, and demanding that the SG-1 members themselves should decide who actually gets implanted with it. This ends season 2, to be continued in the first episode of season 3.