She returned in the next serial Logopolis , in which the Fourth Doctor regenerated , and remained as a companion of the Fifth Doctor .
She returned in the following serial Logopolis , in which the Fourth Doctor regenerated , and remained as a companion of the Fifth Doctor .