Ship in a Bottle (Star Trek: The Next Generation)

"Ship in a Bottle"
Star Trek: The Next Generation episode
Episode no.Season 6
Episode 12
Directed byAlexander Singer
Written byRené Echevarria
Featured musicDennis McCarthy
Production code238
Original air dateJanuary 24, 1993 (1993-01-24)
Guest appearances
Episode chronology
← Previous
"Chain of Command, Part II"
Next →
"Aquiel"
Star Trek: The Next Generation season 6
List of episodes

"Ship in a Bottle" is the 138th episode of the American science fiction television series Star Trek: The Next Generation, the 12th episode of the sixth season.

Set in the 24th century, the series follows the adventures of the Starfleet crew of the Federation starship Enterprise-D. In this episode, which continued a plot line from the second-season episode "Elementary, Dear Data", the fictional holodeck character Professor James Moriarty seizes control of the Enterprise in his quest to be freed to live in reality, outside the confines of a holographic environment.