14 user 5 critic

Ship in a Bottle 

Lt. Barclay mistakenly awakes Moriarty in the forgotten holodeck program, who then makes his demands clear and unforgettable.


Alexander Singer


Gene Roddenberry (created by), René Echevarria | 3 more credits »




Episode complete credited cast:
Patrick Stewart ... Capt. Jean-Luc Picard
Jonathan Frakes ... Cmdr. William Riker
LeVar Burton ... Lt. Cmdr. Geordi La Forge
Michael Dorn ... Lt. Worf
Gates McFadden ... Dr. Beverly Crusher
Marina Sirtis ... Counselor Deanna Troi
Brent Spiner ... Lt. Cmdr. Data
Stephanie Beacham ... Countess Barthalomew
Dwight Schultz ... Barclay
Daniel Davis ... Moriarty
Clement von Franckenstein ... Gentleman
Majel Barrett ... Enterprise Computer (voice)


Diagnosing anomalies in the Sherlock Holmes holodeck programs, Lieutenant Reginald 'Reg' Barclay III discovers a protected memory program containing the self-aware arch-villain character Professor James Moriarty, who demands fulfillment of an overdue promise by the crew to think up a way for him to leave the holodeck. To Picard's astonishment, Moriarty proves empirically that his will suffices for him to leave the holodeck and retain his physical body. Picard grants him the benefit of the doubt of a reformed character, despite his crimes in fiction, but refuses to additionally grant life to the Countess Bartholomew, who was created as his ideal but holographic mate. Moriarty seizes control of the Enterprise to force the crew to make good on their promise at pain of total destruction. That still leaves the technological challenge, but Data's logical deduction comes up with an entirely different viewpoint, inspiring another challenge and approach. Written by KGF Vissers/edited by statmanjeff

Plot Summary | Add Synopsis


TV-PG | See all certifications »


Official Sites:

Official site





Release Date:

23 January 1993 (USA) See more »

Company Credits

Production Co:

Paramount Television See more »
Show more on IMDbPro »

Technical Specs


Sound Mix:




Aspect Ratio:

1.33 : 1
See full technical specs »

Did You Know?


This takes place in 2369. See more »


The transporter console reads "Transport log 721." Instead of reading it, Data asks the computer what is being displayed here. Computer reports that it's transport log 759. Data says, "That is the correct log." See more »


Moriarty: My God - we're adrift in the heavens!
[when looking out into space for the first time]
See more »


Star Trek: The Next Generation End Credits
Composed by Jerry Goldsmith and Alexander Courage
See more »

Frequently Asked Questions

This FAQ is empty. Add the first question.

User Reviews

Computer, end program...
18 August 2006 | by dtegtmeier51See all my reviews

I just watched this episode for the umpteenth time and can't believe I missed this important goof. At the very end, Picard says "But, who knows - our reality may be very much like theirs. And all this might just be an elaborate simulation running inside a little device, sitting on someone's table." Then everyone leaves the room except Barkley. Then Barkley says "Computer, end program"...and there's NO RESPONSE from the computer. Any time the computer is addressed it should respond... In other episodes, the computer responds to rhetorical questions even if just to say "There are currently no programs running, please restate question." As an example, the episode where Beverly Crusher was trapped in the warp bubble and kept talking to herself out loud which always got a response from the computer.

16 of 34 people found this review helpful.  Was this review helpful to you? | Report this
Review this title | See all 14 user reviews »

Contribute to This Page

Free Movies and TV Shows You Can Watch Now

On IMDb TV, you can catch Hollywood hits and popular TV series at no cost. Select any poster below to play the movie, totally free!

Browse free movies and TV series

Stream Trending TV Series With Prime Video

Explore popular and recently added TV series available to stream now with Prime Video.

Start your free trial

Recently Viewed