<P> Realizing his foolishness, Sybok sacrifices himself in an effort to combat the creature and allow the others to escape . Intent on stopping the being, Kirk orders the Enterprise to fire a photon torpedo at their location, to little effect . Spock and McCoy are beamed back to the ship, but Klaa's vessel attacks the Enterprise before Kirk can be transported aboard . The vengeful entity reappears and tries to kill Kirk when Klaa's vessel destroys it in a hail of fire . Kirk is beamed aboard the Klingon ship, where Spock and the Klingon General Korrd force Klaa to stand down . The Enterprise and Klingon crews celebrate a new détente, and Kirk, Spock, and McCoy resume their vacation at Yosemite . </P> <Ul> <Li> William Shatner as James T. Kirk . Shatner practiced aerobics and strength training daily to prepare for the role . The physical activity and directing duties meant he woke at 4 a.m. every day during filming, no matter what time he fell asleep . </Li> </Ul> <Li> William Shatner as James T. Kirk . Shatner practiced aerobics and strength training daily to prepare for the role . The physical activity and directing duties meant he woke at 4 a.m. every day during filming, no matter what time he fell asleep . </Li> <Ul> <Li> Leonard Nimoy as Spock, the Enterprise's half - Vulcan, half human science officer . Nimoy noted The Final Frontier was the most physical film in the series, which reflected Shatner's energetic sensibility and what he enjoyed doing most on the show--"running and jumping". Nimoy recalled Shatner's attempts to instruct him in riding a horse, although Nimoy had ridden many horses bareback when playing American Indian roles for Republic Pictures serials . </Li> </Ul>

Where did space the final frontier come from