Beneath the Surface

Beneath the Surface is the tenth episode of the fourth season of Stargate SG-1.

Summary
SG-1 have had their memories "wiped" and been put to work in an underground industrial complex whose rulers tell Hammond they have perished. As they have begun to remember, they are sentenced to exposure on the surface of the planet (which is in an ice age). They defeat the people who were sent to carry out this exposure, and have by this time regained enough of their memories to free the slaves and send them to "a nice little tropical planet where the beaches go on forever".