The Enterprise faces an ancient planet killer that has entered our galaxy, and an unstable Federation commander tries to use the ship to stop it.