Enterprise finds itself moving into a kind of time portal as it faces off against some Klingons and comes into a kind of junkyard of old ships. These are what's left of centuries of misguided guidance systems. Because these folks couldn't leave, they have formed their own society where a council runs things. They don't believe that escape is possible, but they hadn't counted on the diligence of Captain Kirk. The Klingons are willing to form an alliance with Kirk because Spock has figured out that if the two of the ships work together they can burst through. Of course, we know the Klingons aren't the stellar citizens that are aboard the Enterprise. An average episode at best. Good idea but dull conclusion.