Star Trek V: The Final Frontier is a 1989 American science fiction film released by Paramount Pictures. It is the fifth feature in the franchise and the penultimate to star the cast of the original Star Trek Science Fiction television series.thumb|300px|right
The crew of the starship USS Enterprise enjoys shore leave after the ship's shakedown cruise goes poorly. Captain James T. Kirk is camping with Spock and Dr. Leonard McCoy at Yosemite National Park. Their leave is interrupted when Enterprise is ordered by Starfleet command to rescue human, Klingon and Romulan hostages on the planet Nimbus III. In space, the Klingon Captain Klaa is bored destroying space refuse and longs for a real battle; when he learns Enterprise is heading to Nimbus III he decides to fight Kirk for personal glory and sets his ship on an intercept course.
On Nimbus III, the Enterprise crew discovers that a renegade Vulcan named Sybok, Spock's half-brother, is behind the hostage crisis. Sybok orchestrated the hostage situation to lure a starship to Nimbus III. Sybok wants to use a ship to reach the mythical planet Sha Ka Ree, where creation supposedly began; the planet lies behind a seemingly impenetrable barrier near the center of the galaxy. Sybok uses his mental ability to reveal and mend the innermost pain of a person, and gains the trust of the hostages and most of the crew. While McCoy and Spock accept Sybok's help, Kirk refuses the Vulcan's offer, telling him that his pain is what makes him human. Sybok needs Kirk's experience to navigate Enterprise to Sha Ka Ree, so he stops pressing his offer.
Enterprise successfully breaches the barrier, pursued by Klaa's vessel, and discovers a planet within. Sybok, Kirk, Spock, and McCoy journey to the surface, where Sybok calls out to his perceived vision of God. An entity appears, and when told of how Sybok breached the barrier, demands that the starship be brought closer to the planet. When a skeptical Kirk inquires, "What does God need with a starship?", the entity attacks him in retribution. The others doubt that a being who would inflict harm for pleasure could be God.
Realizing that the creature might escape from the planet, Sybok sacrifices himself and uses his telepathic powers to combat the entity. Intent on stopping the being, Kirk orders Enterprise to fire a photon torpedo at their location, wounding the creature. Spock and McCoy are beamed back to the ship, but Klaa's vessel attacks Enterprise before Kirk can be transported aboard. The vengeful entity reappears and tries to kill Kirk, but Klaa's vessel destroys it in a hail of fire. Kirk is beamed aboard the Klingon ship, where Spock and the Klingon hostage force Klaa to stand down and apologize. TheEnterprise and Klingon crews celebrate detente, and Kirk, Spock and McCoy resume their vacation at Yosemite.