During an attempt to broker peace between the Klingons and the Federation, a mysterious attack threatens to sabotage the peace talks, especially as Captain Kirk and McCoy are accused of murder and sent to a penal colony on a remote planet, leaving the crew of the Enterprise looking for a way to clear them.