Instead, Dea was taken as hostage and placed on a Megallan prison ship. She transmitted an SOS, which was intercepted by the Time Lords on Gallifrey. They, in turn, dispatched K9 to trace the source of the message and to rescue whom he could.
He rescued Dea from her restraints, but she refused to leave the ship. She reckoned that there must be other prisoners onboard and it was her duty to try to free them. The robot dog was at first going to leave her to her illogical decision, but then returned and helped her convert the prison ship into a hospital ship.