James T. Kirk/Starfleet career/Second retirement/The Nexus and death

Events of 2371 revealed Kirk had entered the Nexus, yet unaware of the passing of 78 years due to the non-linear nature of time in the Nexus. Captain Jean-Luc Picard of the discovered Kirk within the Nexus. Kirk agreed to leave his idyllic but unsatisfying existence to help Picard defeat the deranged scientist Tolian Soran, who was going to destroy the Veridian system.
As Kirk explained to Picard, the main reason he always returned to the command chair of the Enterprise was that it was only there that Kirk could truly make a difference. He advised Picard to refuse anything Starfleet offered him that would take him away from the current Enterprise, because he would lose the ability to make a difference in the universe.
Kirk sacrificed his life to save the inhabitants of Veridian IV, as well as the crew of the Enterprise-D, climbing along a precariously-balanced metal bridge in order to grab the control panel necessary to disable the missile that Soran would have used, the bridge subsequently falling down a steep cliff when its support beams broke. His last words, spoken to Picard after being assured that he had made a difference, were to comment that his help was the least he could do for the captain of the Enterprise, as well as to assure Picard that "It was... fun. Oh my...." ()
Captain Picard buried Kirk in a simple stone cairn on a Veridian III mountain top. ()
After Kirk's death, Section 31 retrieved his body for Project Phoenix. 
As of 2401, the remains were stored on Daystrom Station. ( okudagram)