If this looks familiar because it's a repost, but I added scans to enhance the experience
In the audio story "a death in the family" the doctor did my favorite planning feat of his, so i'll try to explain it
First some context, the prior story had the doctor take down the forge, an evil organization that collects alien technology for thier benefit, at the end of the story he learned that there's a cofen of time lord origin in thier vault so he goes to investigate
The villain of this story is nobody no-one, a word lord from a universe literally made of words, language and grammar, which means he isn't effected by the laws of physics of this universe, also he has the ability to warp reality using his name, for example if someone said nobody can do something or no one ca0n do something, he will gain the ability to do it, also he has his own ship that is also made of words called the cordis
While the doctor exploring the vault with a soldier side character, he found several alien gadgets including a device that allows to sent physical letters across space and time, a tablet with access to the galactic internet, and a moebius brain ship
When he found the cofen, he explained that it's more of suspended animation chamber, and there's a time lord inside it, and the time lord was a future version of the doctor, who was in coma while babbling about random shit, they then took him outside
There where nobody no-one attacked, and then there he explained that sometime in the future he faced the doctor who managed to trap him inside his mind, causing him to enter the coma, when they disturbed the future doctor, they gave the opening he needed to escape, so now he decide to kill the past doctor then nobody forced a random bystander to say the following sentence ,"nobody can stop the doctor's regenerating" and "no one has the power of death and life over the doctor", the past doctor figured out a way to trap him using previously mentioned tablet as he connected to his brain to use his brain power to process all the data from the galactic internet and use to create a prison to trap nobody, which succeeded because nobody thought the doctor was bluffing because this would burn his brain killing him, the doctor sacrificed his life to trap nobody , in fact this whole paragraph is on YouTube here
Next the future doctor awoken from his coma, explaining how now the past doctor is death he will be erased from existence, but he still have enough time to do some stuff, he left his companion Ace on earth with his tardis and the previously mentioned alien gadgets and took his second companion hex to planet palachan where Evelyn, an old retired companion of the doctor live there
After a quite long time Ace conveniently met a man called alex noone, who fell in love with her

