I sometimes thought revisiting the Sevateem would have been a good episode idea.
The TARDIS arrives on a planet where a savage tribe called the Sevateem worship a god called Xoanon. The Doctor discovers that Xoanon is in fact a spaceship computer that he tried to repair at some point in his past and inadvertently drove mad by giving it a multiple personality.
Episode EndingsLeela takes the Doctor to see the image of the Sevateem's 'Evil One' carved into the side of a cliff. It is the Doctor's own face. The Doctor muses that he must have made quite an impression.
The Doctor returns to the TARDIS, where Leela is waiting for him. She asks him to take her with him but he declines. She darts into the TARDIS ahead of him and refuses to come out. As the Doctor follows her in, she operates the controls and the TARDIS dematerialises.