Children of the Comet

An ancient alien relic thwarts the Enterprise crew from re-routing a comet on track to strike an inhabited planet.