City on the Edge of Forever (Flashbacks)

"City on the Edge of Forever" is the seventh episode of Season Two, and the 20th overall episode of South Park. It originally aired on June 17, 1998.

Synopsis
When the school bus becomes trapped on the edge of a cliff, Ms. Crabtree must leave to get help. She meets a truck driver who takes her to the nearest town where she unwillingly ends up as a stand-up comedy act.

Meanwhile, back on the bus, all is not well. A Big Black Scary Monster is slowly harvesting the kids (i.e. Kenny and some kid dressed up as a Star Trek redshirt known as the Boy With a Red Shirt) while the boys have flashbacks on previous events in their lives, they are however all incorrect and have a recurring theme of ice cream. Ms. Crabtree has now found love with the truck driver and has completely forgotten about the kids.

Eventually, the bus goes over and ends up in a giant ice cream. Cartman suddenly wakes up and realizes it was all a dream. His mom comes to his aid and she reassures him. They then eat a meal of beetles. Stan suddenly wakes up and realizes everything so far was in fact his dream. He rings Kyle up and explains what happened. Back in the fantasy, Ms. Crabtree says to her new found love she wishes she could stay in the dream forever.