Full story
The Enterprise limps back to Earth after the fight with Khan. At Spacedock, the crew learns the ship is to be decommissioned and that nobody may talk about Genesis, because of the political mess the device caused. McCoy starts acting strangely and ends up under arrest. Spock's body, launched in a casket, landed on the planet Genesis created.
The science ship Grissom is studying that planet. David Marcus, Kirk's son, and the Vulcan Saavik beam down and find an unexpected life form: Genesis has resurrected Spock as a child, but without his mind. David admits he used unstable protomatter, which is why Spock is aging fast and the planet will fall apart within hours. Worse, the Klingon commander Kruge has heard of Genesis, thinks it's a weapon and arrives in a cloaked ship. He destroys the Grissom and takes David, Saavik and Spock.
Meanwhile, Sarek goes to Kirk. Before dying, Spock passed his katra, the Vulcan living spirit, to McCoy. To rest in peace, the katra and the body must reach Vulcan, and without help McCoy will die too. Starfleet forbids the trip. Kirk, Scotty, Sulu, Uhura and Chekov disobey, break McCoy out of detention, sabotage the Excelsior and steal the Enterprise from Spacedock.
Near the planet, Kruge disables the Enterprise. To pressure Kirk, he orders a hostage killed, and David dies defending Saavik. Kirk pretends to surrender and starts the self-destruct. The ship blows up with the Klingon boarding party aboard, and the crew beams down to the planet. Kirk lures Kruge with the promise of Genesis's secret, and the Klingon beams his crew to the ship. The planet breaks apart, the two men fight hand to hand, and Kirk wins by kicking Kruge off a cliff. With the Klingon ship captured, the crew heads for Vulcan.
There, an ancient ritual called fal tor pan reunites the katra with Spock's body. It works. Spock comes back alive, his memories in fragments. Kirk helps him remember that he used to call him Jim, and Spock recognizes the crew.

