Input (grade 9): After the death of Spock (Leonard Nimoy) during the events of Star Trek II: The Wrath of Khan, the crew of the USS Enterprise returns to Earth.
Output (grade 4): It happens after the events of the last film, The Wrath of Khan. The crew of the USS Enterprise go home to Earth after losing their friend Spock.