Knowing that, without the warp drive, the Enterprise will not be able to escape from the Genesis wave unleashed by Khan in a last-ditch effort to destroy Kirk, Spock attempts to enter the warp drive chamber to repair the core. McCoy attempts to stop him, but Spock nerve-pinches McCoy then mindmelds with him, saying only 'Remember.' He then enters the chamber and repairs the core, at the same time contaminating himself with a lethal dose of radiation. On the bridge, Kirk is elated that the warp drive is back online and orders that the ship quickly get out of there. The Genesis wave detonates, destroying the Reliant and causing the Mutara Nebula to condense around the explosion and form a new planet. When Kirk contacts engineering to congratulate Scotty for getting the warp drive back online, McCoy suggests that he get down there immediately. Spock, still inside the warp chamber, is dying. He has time only to say that he did what he did because the needs of the many outweigh the needs of the one and that he has been and always will be Kirk's friend. Spock's body is laid to rest in a photon tube, given a ritual send-off, and jettisoned down to the newly-created Genesis planet. Later, as Kirk sits in his quarters trying to read, David Marcus (Merritt Butrick) enters, apologizes for his previous actions, and says that he's proud to be Kirk's son. Kirk is touched, and they embrace each other. On the bridge, Carol and the bridge officers admire the Genesis planet. The Enterprise sets a course for Earth, planning to stop along the way to pick up the crew of the Reliant left on Ceti Alpha V. After some panning shots of the planet and Spock's coffin, Spock recites in an voiceover the Star Trek mission statement '...to explore strange, new worlds, to seek out new lifeforms and new civilizations, and to boldly go where no man has gone before.'