Kirk returns to the planet where he spent time 13 years before. A friend from his previous visit is now leader of his people. While trying to uphold the Federation's prime directive, the Klingons are providing more advanced technology to their enemies.