 Composer James Horner returned to score The Search for Spock , fulfilling a promise he had made to Bennett on The Wrath of Khan . While Nimoy considered hiring his friend Leonard Rosenman for the score , he was persuaded that Horner 's return would grant continuity between The Wrath of Khan and the new film . Much like the content of the film , Horner 's music was a direct continuation of the score he wrote for the previous film . When writing music for The Wrath of Khan , Horner was aware he would reuse certain cues for an impending sequel ; two major themes he reworked were for Genesis and Spock . While the Genesis theme supplants the title music Horner wrote for The Wrath of Khan , the end credits were quoted " almost verbatim " . 
