K9 returned when Ship used the black hole as fuel. Though Sarah Jane, Luke, Rani and Clyde were happy to have K9 back, Mr Smith was not. (TV: The Mad Woman in the Attic) K9 spent a lot of his time in Sarah Jane's attic at 13 Bannerman Road, Ealing, but left to defeat Travast Polong. He attended Sarah Jane's abortive wedding to Peter Dalton, where he helped the Tenth Doctor, Luke, Rani and Clyde defeat the Trickster. (TV: The Wedding of Sarah Jane Smith) After helping defeat the Slitheen family, Clyde brought K9 to Park Vale Comprehensive School to help him with his test. He helped defeat the Rakweed before returning home. (TV: The Gift) K9 went to the University of Oxford with Luke, but restored Mr White's original programming through a mobile phone.(TV: Goodbye, Sarah Jane Smith)
Before this, the Doctor obtained or constructed at least one backup model of K9. Immediately after leaving Mark I behind with Leela, he unpacked K9 Mark II. This version of K9 accompanied the Doctor and his new companion on their quest to locate the segments of the Key to Time, (TV: The Ribos Operation) but the swampy terrain of Delta III made it impossible for him to join them on the planet. At the conclusion of the quest, the Shadow turned K9 to his evil will, giving K9 a sinister personality. (TV: The Armageddon Factor)
Professor Frederick Marius, who invented the first K9 in the year 5000 while working on the asteroid K4067, described him as "my best friend and constant companion." Marius had a dog on Earth, but weight requirements did not allow him to bring his real dog into space, so he built K9. (TV: The Invisible Enemy) He built K9 by using the latest technology. Marius used his own medical computer, a state-of-the-art intraresponsive brain app, protective anti-radiation cladding, probes, a laser scapel, a vision and voice box and two scanning antennas. He put these parts together and created K9. (PROSE: One Man and His Dog) According to one account, the Professor copied the remnants of one of the versions of K9 created by the Doctor and given to Sarah Jane Smith. (PROSE: Tautology)
To run the program, you must register on the Web site to get the free activation code. The control panel is accessible only through the Internet. Uninstalling requires removing the app from the Task Manager, then using its password to delete it from the Windows Control Panel, and finally, rebooting. Because the password gets sent to the e-mail account of the person who registered the program, it's possible that an enterprising user could disable K9 on a shared computer.
Almost as soon as he arrived, K9 Mark IV left Sarah Jane to stabilise a dangerous black hole in space which had been created in Switzerland. He could only speak with Sarah Jane occasionally via a cabinet with a space-time link when the orbit of the black hole intersected with Earth's and did not know when he would complete the job. (TV: Invasion of the Bane) However, he returned to Earth very briefly during emergencies. He did so on two later occasions in order to render vital assistance. The first time, he fought Mr Smith in pitched battle to give Sarah Jane time to upload the Armageddon Virus. (TV: The Lost Boy) The second time, he quickly uploaded TARDIS base codes to Mr Smith, assisting the Tenth Doctor in returning Earth to its correct location in space. (TV: Journey's End)
After debuting in the final scene of "School Reunion" (2006), K9 Mark IV returned in spin-off series The Sarah Jane Adventures' premiere episode "Invasion of the Bane", where due to licensing issues with creator Bob Baker it is explained that K9 is sealing a black hole and can only communicate briefly and infrequently with Sarah Jane. The character makes an heroic appearance in the first series finale The Lost Boy, to do battle with rogue alien supercomputer Mr Smith (Alexander Armstrong), demonstrating new CGI teleportation and hovering features. K9 Mark IV's interfaces include at least one USB port. Subsequently, the character appears briefly in the Doctor Who series four series finale "Journey's End" (2008), wherein K9 and Mr Smith assist the Doctor in returning Earth to its proper position. K9 next appears in the comedic Red Nose Day 2009 Sarah Jane mini-episode "From Raxacoricofallapatorius with Love". A deal with the creators of K9 having been struck, K9 Mark IV became a regular character in The Sarah Jane Adventures in third series story, The Mad Woman in the Attic (2009), until the series four premiere The Nightmare Man (2010), where he accompanies departing series regular, Sarah Jane's adoptive son Luke Smith (Tommy Knight), to university. He appears again in series four finale, Goodbye, Sarah Jane Smith. Though he doesn't appear in the serial, it is mentioned in The Man Who Never Was (2011) that Luke invented a special dog whistle to summon him with.