In fiction, especially serialized fiction, like television shows, the writers often use a reset button. No matter what happened during the episode, things always go back to the beginning for the next episode.