Star Trek VI: The Undiscovered Country is the sixth feature film in the Star Trek science fiction franchise and is the last of the Star Trek films to include the entire main cast of the 1960s Star Trek television series. It was Released in 1991.thumb|300px|right
The film opens with the explosion of the Klingon moon, Praxis. The USS Exelsior, commanded by Captain Hikaru Sulu, is struck by the shock wave and its crew discovers that much of the moon has been obliterated. The loss of their key energy production facility and the destruction of the Klingon homeworld's ozone layer throws the Klingon Empire into turmoil. No longer able to maintain a hostile footing, the Klingons sue for peace with their longstanding enemy, the United Federation of planets. Accepting the proposal before the Klingons adopt a more belligerent approach, Starfleet sends the USS Enterprise to meet with the Klingon Chancellor, Gorkon, and escort him to negotiations on Earth. The Enterprise's captain, James T. Kirk, whose son David was murdered by Klingons years earlier, opposes the negotiations and resents his assignment.
The Enterprise rendezvous with Gorkon's battlecruiser and continues towards Earth, with the crews sharing a tense meal aboard the Enterprise. Later that night, the Enterprise appears to fire on the Klingon ship with a pair of torpedoes; the damage disables the artificial Inteligence aboard the vessel. During the confusion, two figures wearing Starfleet suits and gravity boots beam aboard the Klingon ship and wound Gorkon. Kirk surrenders to avoid a fight, and beams aboard the Klingon ship with Doctor Leonard McCoy to attempt to save Gorkon's life. The chancellor dies, and Gorkon's chief of staff, General Chang, puts Kirk and McCoy on trial for his assassination. The pair are found guilty and sentenced to life imprisonment on the frozen asteroid Rura Penthe. Gorkon’s daughter, Azetbur, becomes the new Chancellor, and pushes forward with diplomatic negotiations; for reasons of security, the conference's location is kept a secret. While several senior Starfleet officers want to rescue Kirk and McCoy, the Federation president refuses to risk full-scale war. Azetbur likewise refuses to invade Federation space, stating that only Kirk and McCoy will pay for her father's death.
Kirk and McCoy arrive at the Rura Penthe mines and are befriended by a shapeshifter named Martia, who offers them an escape route; in reality, it is a ruse to make their arranged deaths appear accidental. Once her betrayal is revealed, Martia transforms into Kirk's double and fights him, but she is killed by the prison guards to silence any witnesses. Just before the prison warden reveals who set them up, Kirk and McCoy are beamed aboard the Enterprise by Captain Spock. While Kirk and McCoy were imprisoned, Spock assumed command and led an investigation into the attack on Gorkon's ship and his assassination. Determining that the Enterprise did not fire the torpedoes but that the assassins are still aboard, the crew begins looking for them. The two assassins are found dead, but Kirk and Spock trick their accomplice into believing they are still alive. When the culprit arrives in Sickbay to finish off the assassins, Kirk and Spock discover that the killer is Spock's protégé, Valeris. To discover the identity of the conspirators, Spock initiates a forced mind-meld, and learns that a group of Klingon, Starfleet, and Romulan officers plotted to sabotage the peace talks, and Chang is one of the conspirators. The torpedoes that struck Gorkon's cruiser came from a prototype Bird Of Pray that can fire while cloaked, and hovered just below the Enterprise at the time of the assassination.
The crew contacts Sulu, who informs them the conference is being held at Camp Khitomer; both ships head for the talks at maximum warp. As the Enterprise nears the planet, Chang's cloaked Bird of Prey moves to intercept. With the Enterprise unable to track his ship's position, Chang inflicts severe damage on the Enterprise and then the Excelsior. Spock and McCoy modify a photon torpedo to home in on the exhaust emissions of Chang's vessel. The torpedo impact reveals Chang's location, and the Enterprise and Excelsior destroy the Bird of Prey in a flurry of torpedoes. Crew from both ships beam to the conference and halt an attempt on the Federation president's life. Azetbur says Kirk has restored her father's faith; Kirk responds that she has restored his son's. Having saved the peace talks, the Enterprise is ordered back to Earth by Starfleet Command to be decommissioned, but the crew decide to take their time on the return voyage. As the Enterprise cruises towards a nearby sun, Kirk proclaims that though this mission is the final cruise of the Enterprise under his command, others will continue their voyages.