Kamelion Kamelion was a shape - changing android . Used by to impersonate King John , he later travelled as a companion to the Fifth Doctor . ( TV : " The King ' s Demons " ) This continued until his destruction after he had again fallen under the influence of the Master . ( TV : " Planet of Fire " ) However , this was not the end for him . He gained and lost a new host body , ( PROSE : " The Ultimate Treasure " ) had a child with the Doctor ' s TARDIS ( PROSE : " The Reproductive Cycle " ) and used his mental link with the Doctor to allow the Master to trap the Doctor within a dreamscape . ( AUDIO : " Winter " ) Abilities . Kamelion was created from structure mathematics via Block Transfer Computation s . As such , he was able to change his appearance and form . Not only could he masquerade as various humanoids , but he could actually change his size and form at will , at various points taking such forms as a Gubbage Cone with many tendrils and a fifty - foot tall version of his standard body . He was also able to change his hands into weapons . ( PROSE : " The Crystal Bucephalus " ) Biography . Life . Creation . The Kamelions were created by the Gelsandoran s ( PROSE : " The Ultimate Treasure " ) as weapons of war during their invasion of the planet Xeriphas before leaving . Not knowing why they left , Kamelion shut down his consciousness . ( PROSE : " The Crystal Bucephalus " ) When became trapped on Xeriphas , ( TV : " Time - Flight " ) he discovered Kamelion had been left behind by previous invaders . He used the android to impersonate many beings across the cosmos , all the while causing Kamelion to develop a conscience . In his next encounter with the Fifth Doctor , he was using Kamelion to impersonate King John , in order to pervert history by preventing the signing of Magna Carta . ( TV : " The King ' s Demons " ) Travels with the Fifth Doctor . The Doctor freed Kamelion from the Master ' s control and invited him to join the TARDIS crew , although Turlough and Tegan were uncomfortable with him . ( TV : " The King ' s Demons " ) Kamelion preferred to remain in the TARDIS for fear of being taken over by a stronger personality and used against the Doctor , after believing he had overcome his programming only to be made to kill someone . ( PROSE : " The Crystal Bucephalus " ) He subsequently spent most of his time in his room in the TARDIS , consisting of a chair with a link to the TARDIS ' s databanks , allowing him to ' listen ' to the ship reflect on its adventures . However , Kamelion did leave his room during a trip to the Moon with a Victorian lunar expedition in 1878 , his assistance proving crucial to the resolution of the crisis . Initially confined to the TARDIS by a force field preserving an atmosphere on a lunar park that disrupted his operating systems , Kamelion later left the park and rescued the Doctor as he was dying of asphyxiation on the surface as the force field began to lose power following the death of the park ' s Warden . Later , he helped the Doctor and Turlough salvage weapons from the park to use against the ruthless Vrall , and posed as the spirit of the deceased Prince Albert to convince Queen Victoria to abandon the space program . ( PROSE : " Imperial Moon " ) At some point , a picture of Kamelion was obtained by UNIT , and was present in the Black Archive by UNIT . ( TV : " The Day of the Doctor " ) Kamelion fell under the Master ' s remote influence in Lanzarote and assumed the shape of Peri ' s stepfather , Howard Foster , after picking up on her thoughts . When the Master gained complete control over him , Kamelion assumed the form of the Master . The Master intended to use Kamelion to reverse an accident with his TCE that had shrunk him and his lab . The Doctor and Peri tried to return Kamelion to his own control and his robotic form , pitting their will against the Master ' s . When the Master was restored to his normal size , Kamelion was in agony over his possession and persuaded the Doctor to kill him . His final earthly words were : " " Destroy me . . . please . . . " " ( TV : " Planet of Fire " ) Afterlife . A little of Kamelion ' s personality survived as a result of his interfacing with the TARDIS . When the ship arrived on Gelsandor , the natives gave him a new body , only for him to sacrifice himself to save the Fifth Doctor and Peri . ( PROSE : " The Ultimate Treasure " ) As the Fifth Doctor lay dying from spectrox toxaemia , enough of Kamelion ' s mental link to him existed to allow to use Kamelion to trap the Doctor in a dreamscape within his own mind , slowly destroying his will to regenerate . In this trap , Kamelion took the form of Anima , the Doctor ' s wife and the mother of his children . Thanks to the encouragement of Nyssa and her husband Lasarti , who were also mentally linked with him , the Doctor was able to see through the illusion . Freed from the Master ' s control once again , the psychic ally linked aspect of Kamelion in the Doctor ' s mind was able to join Nyssa and the Doctor ' s other companions from across space and time to free him from the trap so he could regenerate . ( AUDIO : " Winter " ) Later , Kamelion and the TARDIS had a child together , which was raised by the Sixth Doctor and Peri Brown . It developed into a double of Peri and took her place on Earth while the real Peri travelled with the Doctor . ( PROSE : " The Reproductive Cycle " ) Other information . Kamelion assumed the shapes of John of England , Tegan Jovanka , ( TV : " The King ' s Demons " ) Arrestis , Lassiter , ( PROSE : " The Crystal Bucephalus " ) Albert , ( PROSE : " Imperial Moon " ) Howard Foster , the Fifth Doctor , ( TV : " Planet of Fire " ) and Red . ( PROSE : " The Ultimate Treasure " ) While dying from the effects of spectrox toxaemia , the Fifth Doctor hallucinated about many individuals , including Kamelion , urging him to live . ( TV : " The Caves of Androzani " ) When the Tenth Doctor was trapped in the remnants of the Matrix by Es ' Cartrss , he requested that the TARDIS avatar that was assisting him transform into Kamelion to penetrate a force field within the Matrix , as he realised that Es ' Cartrss ' s ' allies ' were all his artificial enemies , deducing that robots could pass through the force fields and recalling Kamelion as an example of a non - organic companion . Kamelion was among the creatures that Gabby Gonzalez sketched exiting the Pentaquoteque Gallery of Ouloumos in her notebook . However , her notes were notable for being somewhat inaccurate . ( COMIC : " The Arts in Space " )