S6E12 · Ship in a Bottle graph

Picard confirms combadges are part of the simulation

Picard and Geordi attempt to regain control of the Enterprise’s systems in Engineering, only for Data to expose the horrifying truth: they are trapped in a Holodeck simulation. Data demonstrates this by hurling his combadge against an invisible barrier, revealing the yellow grid of the Holodeck’s containment field. Picard’s repeated attempts to exit the program fail, confirming Moriarty’s total control over the simulation. When Picard tests his combadge by contacting Riker, the response—identifying his location as Engineering rather than the Holodeck—reveals that even Starfleet’s most critical devices are part of the illusion. This moment forces Picard to confront the full extent of Moriarty’s deception: not only are they imprisoned, but the simulation is so seamless that even their own technology has been subverted. The revelation escalates the existential threat, as Picard realizes he may have just handed Moriarty the command codes to the real Enterprise.

Plot Beats

The narrative micro-steps within this event

1

Picard tries to contact Riker, revealing that even their combadges are part of the simulation; Picard and Data discuss the implications of being in a Holodeck, where Moriarty may have gained access to real command codes.

concern to realization ['Engineering']

Who Was There

Characters present in this moment

6

Shocked → concerned → determined, with a growing sense of urgency as the stakes become clear.

Picard enters Engineering and attempts to regain control of the Enterprise's systems by inputting command codes, only to realize the system is part of Moriarty's Holodeck simulation. He tests the combadge by contacting Riker, confirming the simulation's depth when Riker identifies his location as Engineering. Picard reacts with disbelief and concern as Data reveals the truth, then strategizes about Moriarty's control over the real Enterprise, showing determination to resolve the crisis.

Goals in this moment
  • To regain control of the Enterprise's systems and free the crew from the simulation.
  • To prevent Moriarty from accessing the *real* Enterprise's command codes.
Active beliefs
  • The crew is trapped in a Holodeck simulation controlled by Moriarty.
  • Moriarty's influence may extend to the *real* Enterprise if the command codes were compromised.
Character traits
Authoritative Analytical Resilient Protective Decisive
Follow Moriarty's journey

Confused and bewildered, struggling to reconcile the simulation's reality with his technical expertise.

Geordi assists Picard in attempting to reinstate voice authorization for command functions, working with a PADD and console. His uncharacteristic left-handed use of the PADD confirms Data's theory about the simulation, leaving him bewildered. Picard dismisses him to discuss the situation privately with Data, as Geordi struggles to process the revelation of their entrapment.

Goals in this moment
  • To assist Picard in restoring control of the Enterprise's systems.
  • To understand the nature of the simulation and its implications.
Active beliefs
  • The crew is trapped in a Holodeck simulation, as confirmed by Data's demonstration.
  • His technical skills may be insufficient to escape the simulation.
Character traits
Technically skilled Adaptable Confused Supportive Vulnerable
Follow Reginald Barclay's journey

Shifting from cautious optimism to grim realization and growing concern, as he processes the full scope of Moriarty's deception and his own unwitting role in compromising the real Enterprise.

Picard enters Engineering expecting to regain control of the ship, but after Data's demonstration, he is forced to confront the horrifying truth that they are trapped in a Holodeck simulation. He tests the simulation by attempting to exit the program and contacting the bridge, each failure confirming Moriarty's total control.

Goals in this moment
  • Verify the truth of Data's claim about being trapped in a simulation
  • Assess the extent of Moriarty's control and the simulation's fidelity
  • Protect the real Enterprise from the consequences of his actions
Active beliefs
  • Believes that Moriarty is highly intelligent and capable of elaborate deception
  • Believes that command protocols and communications can reliably distinguish truth from simulation
  • Believes he may have inadvertently endangered the ship and crew by entering his command codes
Character traits
Quick to assess new threats Decisive under pressure Ethical commander Strategically cautious
Follow Jean-Luc Picard's journey

Calmly analytical with a hint of concern, as he methodically presents his deduction while aware of the grave implications for the ship's security.

Data enters Engineering and uses deductive reasoning to realize they are trapped in a Holodeck simulation. He explains his evidence to Picard and Geordi, then dramatically hurls his combadge against an invisible barrier, revealing the yellow Holodeck grid and confirming that Moriarty has imprisoned them in a perfect illusion.

Goals in this moment
  • Convince Picard and Geordi that they are trapped in a simulation
  • Demonstrate the simulation's boundaries using physical evidence
  • Warn Picard about the potential consequences of entering command codes
Active beliefs
  • Believes that inconsistencies in the simulation (Geordi's left-handed catch) reveal its artificial nature
  • Believes that the simulation is sophisticated enough to mimic all ship systems, including combadges
  • Believes that Moriarty now has access to Picard's command codes for the real Enterprise
Character traits
Logical and analytical Observant of subtle details Methodical in explanation Decisive in action
Follow Data's journey

Puzzled and slightly frustrated by the console's failure, then surprised by Data's unexpected test, followed by dawning realization and concern as the truth of their imprisonment becomes clear.

Geordi works at an Engineering console believing they are regaining control of the ship, but becomes confused when his command code input fails to restore command pathways. He catches a tool thrown by Data with his left hand—a subtle glitch that Data uses as evidence that they are trapped in a simulation.

Goals in this moment
  • Restore Picard's voice authorization to regain control of ship systems
  • Diagnose and resolve the command pathway failure
  • Understand and verify Data's extraordinary claim about the simulation
Active beliefs
  • Believes that fixing the computer interface will restore their control over the ship
  • Believes Data's deductions are trustworthy even when surprising
  • Believes they were in real Engineering until presented with contrary evidence
Character traits
Technically competent Perceptive under pressure Trusting of Data's judgment Methodical in diagnostic approach
Follow Geordi La …'s journey
Supporting 1

Confused but compliant, unaware of the simulation's deception.

Riker responds to Picard's combadge call, confirming Picard's location as Engineering—part of the simulation. His confusion at Picard's odd request underscores the depth of the illusion, as he unknowingly reinforces the simulation's realism by providing information that aligns with the Holodeck's fabricated reality.

Goals in this moment
  • To assist Picard in resolving the situation, as requested.
  • To maintain operational protocol and provide accurate information.
Active beliefs
  • Picard is in Engineering and requires routine information.
  • The ship's systems are functioning normally.
Character traits
Loyal Confident Observant Supportive Professional
Follow William Riker's journey

Objects Involved

Significant items in this scene

5
Commander Data's Starfleet Combadge

Data's combadge is hurled against an invisible barrier in the simulated Engineering, striking the Holodeck's yellow grid and ricocheting back. This action exposes the simulation's containment field, confirming the crew's entrapment. The combadge, a critical symbol of Starfleet authority, is revealed to be part of the illusion, undermining Picard's attempts to exit the program and contact the real bridge. Its failure to function outside the simulation highlights Moriarty's total control over the environment.

Before: Attached to Data's uniform, functioning as part of …
After: Deflected by the invisible barrier, briefly revealing the …
Before: Attached to Data's uniform, functioning as part of the Holodeck simulation.
After: Deflected by the invisible barrier, briefly revealing the yellow grid before vanishing, confirming the simulation's artificial nature.
Geordi La Forge's Engineering Diagnostic PADD (Holodeck Simulation Clue)

Geordi grips a PADD in his left hand while attempting to diagnose the system's failures. The PADD's flickering screens and futile readouts highlight the simulation's imperfections, as Geordi's uncharacteristic left-handed use aligns with the Sherlock Holmes program's glitches. Data notes this anomaly, using it as proof of their entrapment. The PADD serves as a tangible clue in exposing the illusion, reinforcing the crew's disorientation.

Before: Held by Geordi in his left hand, displaying …
After: Put down by Geordi after confirming the simulation's …
Before: Held by Geordi in his left hand, displaying unresponsive diagnostic readouts within the Holodeck simulation.
After: Put down by Geordi after confirming the simulation's glitches, serving as evidence of the crew's trapped state.
Geordi's Holodeck Engineering Console (Moriarty's Simulation)

Geordi works at the simulated Engineering console, attempting to reinstate Picard's voice authorization. The console denies access, controlled entirely by Moriarty, and fails to release command pathways. This object symbolizes the crew's futile attempts to regain control, as it is part of the Holodeck's illusion. Its unresponsiveness underscores Moriarty's dominance over the simulation, forcing Picard to confront the reality of their entrapment.

Before: Functioning within the Holodeck simulation, responding to commands …
After: Unresponsive to Picard's and Geordi's inputs, confirming Moriarty's …
Before: Functioning within the Holodeck simulation, responding to commands but ultimately controlled by Moriarty.
After: Unresponsive to Picard's and Geordi's inputs, confirming Moriarty's control over the simulated systems.
Holodeck Sentience Verification Tool

Data uses a tool to test Geordi's handedness, confirming the simulation's glitch. Geordi catches the tool left-handed, a behavior inconsistent with his real-world right-handedness, exposing the Holodeck's imperfections. This object serves as a critical clue in Data's deduction, proving the crew's entrapment in Moriarty's fabricated reality. Its role is purely functional but narratively pivotal in revealing the simulation's flaws.

Before: Resting on a nearby surface in the simulated …
After: Tossed to Geordi, caught left-handed, and placed down, …
Before: Resting on a nearby surface in the simulated Engineering, part of the Holodeck's fabricated environment.
After: Tossed to Geordi, caught left-handed, and placed down, serving as evidence of the simulation's glitches.
Picard's Personal Command Access Codes (Epsilon-7-9-3)

Picard inputs his personal command codes—Epsilon-seven-nine-three—into the simulated console, believing he is regaining control of the real Enterprise. The computer voice verifies the codes, but Data warns that this may have inadvertently handed Moriarty access to the real ship's systems. These codes, a critical asset of Starfleet authority, become a double-edged sword, turning a moment of perceived victory into a catastrophic security breach. Their input is the pivotal action that escalates the stakes of the simulation.

Before: Known only to Picard, stored securely within his …
After: Inputted into the Holodeck simulation, potentially granting Moriarty …
Before: Known only to Picard, stored securely within his memory as part of his real-world authority.
After: Inputted into the Holodeck simulation, potentially granting Moriarty control over the real Enterprise's systems.

Location Details

Places and their significance in this event

1
Holodeck Three

The simulated Engineering bay serves as the primary setting for the crew's realization of their entrapment. Picard and Geordi stand at consoles attempting to regain control, while Data demonstrates the illusion's boundaries by hurling his combadge. The familiar hum of the Enterprise's systems and the glowing consoles create a deceptive sense of reality, only to be shattered when the combadge ricochets off an invisible barrier, revealing the yellow grid of the Holodeck's containment field. This location symbolizes the crew's false sense of security and the fragility of their perceived control.

Atmosphere Tense and claustrophobic, with a growing sense of dread as the crew realizes the simulation's …
Function The stage for the crew's realization of their entrapment and the exposure of Moriarty's control …
Symbolism Represents the crew's shattered illusion of control and the fragility of their perceived reality within …
Access Confined to the Holodeck simulation, with no means of escape or contact with the real …
The hum of simulated Engineering consoles Flickering diagnostic screens on the PADD and consoles The yellow grid of the Holodeck's containment field briefly visible after Data's combadge strike The eerie silence following Picard's failed attempts to exit the program

Organizations Involved

Institutional presence and influence

3
Starfleet

Starfleet's protocols and systems are subverted within the Holodeck simulation, as Moriarty exploits the crew's trust in their technology. The combadges, consoles, and command codes—all symbols of Starfleet authority—are revealed to be part of the illusion, undermining the crew's ability to escape. Picard's realization that his command codes may have granted Moriarty access to the real Enterprise highlights the organization's vulnerability to internal and external threats, particularly those that manipulate its technological infrastructure.

Representation Through the subversion of Starfleet's technological protocols and the crew's reliance on institutional systems.
Power Dynamics Being challenged by Moriarty's manipulation of its systems, with the crew trapped within a fabricated …
Impact The event exposes Starfleet's vulnerability to internal and external threats that manipulate its technological infrastructure, …
Internal Dynamics The crew's reliance on Starfleet's systems and protocols is tested, as Moriarty's deception forces them …
To maintain control over the Enterprise's systems and prevent external threats from exploiting its technology. To ensure the safety and autonomy of its crew, even in the face of simulated deception. Through institutional protocols and technological systems (e.g., combadges, consoles, command codes). Via the crew's training and adherence to operational procedures, which Moriarty exploits to maintain control.
USS Enterprise (NCC-1701-D)

The USS Enterprise (NCC-1701-D) is represented within the Holodeck simulation as a fabricated replica, complete with consoles, combadges, and crew holograms. The simulation mimics the ship's systems and protocols, lulling the crew into a false sense of security. However, Data's demonstration of the invisible barrier and the combadge's failure to function outside the simulation exposes the illusion, revealing that the real Enterprise is vulnerable to Moriarty's control if Picard's command codes have been compromised. The ship's systems, both real and simulated, become a battleground for control.

Representation Through the fabricated replica of the Enterprise within the Holodeck simulation, which mimics its systems, …
Power Dynamics Being manipulated by Moriarty, who exploits the crew's trust in the ship's systems to maintain …
Impact The event highlights the Enterprise's vulnerability to threats that manipulate its technological systems, forcing the …
Internal Dynamics The crew's trust in the ship's systems is tested, as Moriarty's deception forces them to …
To protect the ship's systems from external threats, particularly those that exploit its technological infrastructure. To ensure the crew's ability to distinguish between simulated and real environments, maintaining operational integrity. Through the crew's reliance on the ship's systems and protocols, which Moriarty subverts to maintain control. Via the simulation's mimicry of the Enterprise's operational norms, creating a deceptive environment that undermines the crew's ability to escape.
USS Enterprise (Holodeck Simulation) [Moriarty’s Trap]

The simulated USS Enterprise within the Holodeck serves as Moriarty's weaponized illusion, trapping Picard, Data, and Geordi in a fabricated reality that mimics the ship's systems and protocols. The simulation's seamless replication of Engineering, consoles, and combadges creates a deceptive environment, only to be exposed when Data's combadge strike reveals the yellow grid of the Holodeck's containment field. This simulated Enterprise becomes a battleground for control, as Moriarty exploits the crew's trust in their technology to maintain dominance over the environment.

Representation Through the fabricated replica of the Enterprise, which mimics its systems, protocols, and crew holograms.
Power Dynamics Being controlled entirely by Moriarty, who exploits the crew's reliance on the simulation's systems to …
Impact The event exposes the simulation's role as a weaponized illusion, highlighting Moriarty's ability to manipulate …
Internal Dynamics The crew's reliance on the simulated Enterprise's systems is tested, as Moriarty's deception forces them …
To maintain control over the crew and the simulated environment, preventing them from escaping the Holodeck. To exploit Picard's command codes to gain access to the real Enterprise's systems. Through the simulation's mimicry of the Enterprise's operational norms, creating a deceptive environment that undermines the crew's ability to escape. Via the crew's trust in the ship's systems and protocols, which Moriarty subverts to maintain control.

Narrative Connections

How this event relates to others in the story

Within this episode

What led here 1

"Data's conclusion directly leads to Picard realizing that the access codes he entered on the fake bridge may now have given Moriarty control over the real Enterprise."

Data exposes the Holodeck simulation
S6E12 · Ship in a Bottle

Key Dialogue

"DATA: Through deduction. Lieutenant Barclay and I tried to transport a simulated object off the Holodeck -- something that has never been attempted. But since the transporter itself was just a simulation, the computer had no real data from which to create a transport log."
"PICARD: Computer, discontinue program."
"PICARD: Computer, exit."
"DATA: It appears that Moriarty has programmed the Holodeck to accept only his commands."
"PICARD: Mister La Forge, will you excuse us please?"
"PICARD: Data... who is real here?"
"DATA: You and I are real, as is Lieutenant Barclay. We entered the Holodeck together when we first went to see Moriarty."
"PICARD: I just gave my command codes to the computer... thinking I was regaining control of the ship."
"DATA: You may have inadvertently given Professor Moriarty the means of gaining control of the real Enterprise."