The Last Outpost

"When the Enterprise comes in contact with a Ferengi vessel, a powerful forcefield traps the ship in the orbit of an ancient world.""The Last Outpost" is the fifth episode of the first season of Star Trek: The Next Generation, initially airing in syndication on 19 October, 1987.