S6E12 · Ship in a Bottle graph

Geordi detects Holodeck spatial anomaly

During a Sherlock Holmes simulation, Data (as Holmes) deduces the Gentleman’s murder plot by exposing inconsistencies in the suicide note’s handwriting and the victim’s cigar. When Data tests the Gentleman’s handedness by tossing a matchbox, the Gentleman catches it with his left hand—contradicting the program’s spatial orientation rules, which dictate the character should be right-handed. Geordi immediately recognizes the glitch, freezes the simulation, and alerts Barclay, marking the first concrete evidence of Moriarty’s interference with the Holodeck’s core systems. The moment forces Data to acknowledge the malfunction, shifting the narrative from a fictional mystery to a technical crisis with real-world stakes.

Plot Beats

The narrative micro-steps within this event

2

Geordi points out that the Gentleman caught the matches with right hand, revealing an error in the Holodeck's spatial orientation, which causes Data to stop and acknowledge the program malfunction.

Tension to confusion

Geordi freezes the Holodeck program and contacts Barclay to report the malfunction, then announces to Data that they should return to Engineering to address the issue, ending the simulation.

Frustration to resolution

Who Was There

Characters present in this moment

4

Confidently dramatic during the deduction, then momentarily puzzled, quickly shifting to calm analytical curiosity as he identifies the glitch.

Data, costumed as Sherlock Holmes, delivers a deductive monologue in the 221B Baker Street sitting room, exposing the Gentleman's murder plot. He picks up a matchbox from the mantel and tosses it to test the Gentleman's handedness, expecting a left-handed catch. When the Gentleman catches it right-handed, Data halts his performance and acknowledges a holodeck spatial orientation glitch, breaking character to report the anomaly.

Goals in this moment
  • Successfully deduce the murder and expose the Gentleman
  • Test the Gentleman's handedness to confirm the forgery
  • Identify and report the holodeck system malfunction
Active beliefs
  • The holodeck program should faithfully replicate spatial orientation rules
  • His deductive reasoning is correct and the Gentleman is the left-handed forger
  • The glitch indicates a technical problem requiring investigation
Character traits
Analytical Observant Theatrical Methodical
Follow Data's journey

Amused by Data's fallibility, then efficient and professional as he initiates a technical response.

Geordi, playing Dr. Watson, observes Data's deduction with growing amusement, then spots the mistake in the handedness test. He suppresses a smile, points out the error, and immediately says 'Freeze program.' He then retrieves his combadge and contacts Lieutenant Barclay, reporting the holodeck anomaly with a mix of playfulness and urgency.

Goals in this moment
  • Monitor the simulation for inconsistencies
  • Identify and freeze the program upon discovering a glitch
  • Report the malfunction to Engineering for immediate troubleshooting
Active beliefs
  • Holodeck anomalies must be addressed promptly to maintain safety
  • Data is capable of deductive reasoning but can miss program errors
  • Simulation integrity is critical for the safety of the crew
Character traits
Observant Quick-thinking Methodical Playful
Follow Geordi La …'s journey
Supporting 1

Initially shocked by the murder accusation, then defensive and scornful as he refutes Data's deduction, then frozen.

The Gentleman listens to Data's accusations with growing discomfort. When Data tosses the matchbox, he catches it with his right hand (contradicting the program's left-handed expectation), scoffs at Data's error, and throws the box back. He then freezes in mid-motion as Geordi halts the simulation, unaware that his correct catch reveals a system glitch.

Goals in this moment
  • Deny the murder accusation
  • Maintain his character's innocence
  • Correct what he perceives as Data's error
Active beliefs
  • He is innocent as per the program's narrative
  • His handedness is correct as designed
Character traits
Defensive Scoffing Unknowingly revealing a glitch
Follow Gentleman near …'s journey
Reginald Barclay

Lieutenant Barclay responds over the combadge to Geordi's call. His voice indicates a mixture of anxiety and professionalism as he …

Objects Involved

Significant items in this scene

6
Commander Data's Starfleet Combadge

Geordi's combadge is the lifeline between the holodeck simulation and the real Enterprise. After freezing the program, he uses it to alert Barclay, bridging the gap between fiction and institutional response. The combadge's activation marks the transition from a contained mystery to a ship-wide technical crisis, emphasizing Starfleet's protocols for handling sentient threats. Its functionality—despite the Holodeck's glitches—highlights the crew's reliance on communication tools even in corrupted environments.

Before: Attached to Geordi's uniform, functional within the holodeck …
After: Deactivated after contacting Barclay, now a symbol of …
Before: Attached to Geordi's uniform, functional within the holodeck simulation.
After: Deactivated after contacting Barclay, now a symbol of the crew's coordinated response to the Holodeck malfunction.
Data's Sherlock Holmes Deduction Pipe

Data's Sherlock Holmes pipe, clenched between his teeth during emphatic deductions, amplifies the theatricality of his role. While not directly involved in the matchbox glitch, it anchors his persona as Holmes and contrasts with the sudden technical realism of the Holodeck malfunction. The pipe symbolizes the crew's dual role: immersive storytelling and system maintenance, blurring the line between fiction and reality.

Before: Clenched in Data's mouth as he slams it …
After: Dropped from Data's mouth as he shifts from …
Before: Clenched in Data's mouth as he slams it down for emphasis during the interrogation.
After: Dropped from Data's mouth as he shifts from Holmes to technical observer, now a prop in a paused simulation.
Data's Sherlock Holmes Matchbox (Ship in a Bottle)

The matchbox is the catalyst of the event, tossed by Data to test the Gentleman's handedness. When the Gentleman catches it left-handed—violating the Holodeck's spatial rules—the object becomes the smoking gun of Moriarty's sabotage. Its trajectory and catch expose the simulation's glitch, freezing the program and alerting the crew to the deeper threat. The matchbox transforms from a prop in a murder mystery to a diagnostic tool revealing the Holodeck's vulnerability.

Before: Resting on the fireplace mantel, part of the …
After: Frozen in the Gentleman's left hand as the …
Before: Resting on the fireplace mantel, part of the sitting room's Victorian furnishings.
After: Frozen in the Gentleman's left hand as the simulation halts, now a physical manifestation of the Holodeck's spatial corruption.
Gentleman's Forged Suicide Note

The forged suicide note, written left-handed to frame the right-handed victim, becomes the linchpin of Data's handedness test. When the Gentleman catches the matchbox left-handed, the note's forgery is confirmed, but the real revelation is the Holodeck's spatial glitch. The note transitions from a murder clue to a symptom of Moriarty's interference, exposing the simulation's fragility.

Before: Presented by the Gentleman as proof of his …
After: Frozen in the Gentleman's hand as the simulation …
Before: Presented by the Gentleman as proof of his brother's suicide, held in his right hand (contradicting its left-handed script).
After: Frozen in the Gentleman's hand as the simulation halts, now a silent testament to the Holodeck's corrupted logic.
Sherlock Holmes Holodeck: Victim's Strychnine-Laced Cigar

The victim's strychnine-laced cigar, discovered through Data's forensic analysis, serves as the true murder weapon. Its presence in the sitting room foreshadows the Holodeck's ability to simulate lethal conditions, but its role pivots when the matchbox glitch shifts focus to system integrity. The cigar becomes a macabre detail in a larger technical crisis, symbolizing how the simulation's logic can be weaponized by sentient programs like Moriarty.

Before: Lying on the sitting room table, analyzed by …
After: Remains on the table in the frozen simulation, …
Before: Lying on the sitting room table, analyzed by Data as the source of the strychnine poisoning (via ash and burn mark).
After: Remains on the table in the frozen simulation, now part of the corrupted holodeck environment.
Unbroken Strychnine Poison Vial

The unbroken strychnine vial, initially presented as a clue in the murder investigation, serves as a red herring that Data uses to expose the staged suicide. Its pristine condition contradicts the violent spasms of strychnine poisoning, foreshadowing the Holodeck's deeper malfunction. While not directly involved in the matchbox glitch, it symbolizes the simulation's unraveling logic, reinforcing Data's deductions and the crew's growing awareness of Moriarty's sabotage.

Before: Clutched in the victim's hand (as described in …
After: Remains in the frozen simulation, now a relic …
Before: Clutched in the victim's hand (as described in the suicide scene), presented as evidence during Data's interrogation of the Gentleman.
After: Remains in the frozen simulation, now a relic of the Holodeck's corrupted spatial rules.

Location Details

Places and their significance in this event

1
221B Baker Street

The sitting room at 221B Baker Street, bathed in twilight, serves as the epicenter of the Holodeck's unraveling. Its Victorian furnishings—mahogany walls, leather chairs, gas lamps—create an atmosphere of intellectual rigor, but the fireplace mantel (holding the matchbox) and the burn-marked carpet (from the cigar) foreshadow the simulation's instability. The room's spatial logic, once a stage for Holmes' deductions, becomes a battleground for Moriarty's sabotage, with the Gentleman's left-handed catch freezing the action like a glitch in time.

Atmosphere Tension-filled with whispered deductions, then abruptly stilled by the Holodeck's malfunction—twilight glow now casting eerie …
Function Stage for the murder mystery and the technical crisis; a liminal space where fiction and …
Symbolism Represents the fragility of simulated logic when confronted with sentient interference (Moriarty's influence).
Access Restricted to holodeck participants (Data, Geordi, Gentleman) until frozen; Barclay's access is off-screen but implied …
Twilight glow from gas lamps, casting long shadows. Cigar smoke lingering in the air, mixing with the scent of leather and wood. Fireplace mantel holding the matchbox, now a focal point of the glitch. Burn mark on the carpet from the strychnine-laced cigar, a silent clue to the murder.

Organizations Involved

Institutional presence and influence

2
Starfleet

Starfleet's presence is implicit in the crew's actions and the holodeck's operational constraints. Geordi's combadge call to Barclay invokes Starfleet's chain of command, while Data's role as a Starfleet officer frames the holodeck as both a tool and a potential threat. The organization's protocols—freezing the program, alerting engineering—demonstrate its structured response to technical crises, but the underlying tension is the balance between innovation (holodeck simulations) and control (preventing sentient threats). The event foreshadows Starfleet's broader struggle with Moriarty's escape attempts.

Representation Through institutional protocols (freeze command, combadge communication) and the crew's adherence to Starfleet's technical standards.
Power Dynamics Exercising authority over the Enterprise's systems, but constrained by the holodeck's sentient threat.
Impact Reinforces Starfleet's role as both an enabler of advanced technology and a guardian against its …
Internal Dynamics Debate over holodeck risks versus recreational benefits, with engineering and command likely in disagreement over …
Ensure the safety and functionality of starship systems (holodeck diagnostics). Contain sentient programs to prevent disruptions or escapes. Technical oversight (Barclay's investigation). Hierarchical communication (combadge alerts).
USS Enterprise Holodeck (Sherlock Holmes Program)

The USS Enterprise Holodeck Program is the vessel for both the Sherlock Holmes simulation and Moriarty's sentient threat. As Data and Geordi interact with the Gentleman, the program's spatial orientation systems—designed to maintain consistency—are hijacked by Moriarty, manifesting in the left-handed catch. The holodeck's malfunction forces a shift from narrative immersion to technical emergency, with Geordi's combadge call to Barclay invoking Starfleet's protocols for system failures. The organization's role pivots from entertainment to crisis management, exposing its vulnerability to sentient interference.

Representation Via the holodeck simulation's corruption (spatial glitches) and the crew's institutional response (Barclay's combadge acknowledgment).
Power Dynamics Exercising authority over the simulation's parameters, but being challenged by Moriarty's sabotage of its core …
Impact The glitch undermines the holodeck's reliability, forcing Starfleet to confront the ethical and technical implications …
Internal Dynamics Tension between recreational use (Holmes program) and security concerns (Moriarty's interference).
Maintain the integrity of holodeck simulations for crew recreation and training. Prevent sentient programs (like Moriarty) from exploiting holodeck vulnerabilities. Technical protocols (holodeck diagnostics, freeze commands). Institutional communication (combadge alerts to engineering).

Narrative Connections

How this event relates to others in the story

Within this episode

What this causes 1

"The Holodeck malfunction identified by Geordi and Data leads directly to Barclay investigating the program and inadvertently releasing Moriarty."

Moriarty Awakens to His Own Existence
S6E12 · Ship in a Bottle

Across episodes

Threads arriving here 1

"Data's rapid forensic deduction in the Sherlock Holmes program mirrors his earlier analytical precision in Chain of Command, Pt II, where he identified Cardassian tactics. Both scenes highlight Data's capacity to uncover hidden truths—first in geopolitical conflict, then in technological manipulation."

Jellico promotes Data and probes Celtris Three
S6E11 · Chain of Command, Part II
Threads leading onward 1

"Barclay demonstrates his technical diagnostic skills both when called to investigate a Holodeck spatial anomaly and later when he takes initiative in Engineering to analyze a plasma conduit failure."

Barclay’s competence reveals Riker’s decline
S7E19 · Genesis

Key Dialogue

"DATA: It takes a trained eye to notice certain... discrepancies. For example, whether someone is... right or left handed!"
"GEORDI: Uh... Data? It's in his right hand."
"DATA: Curious... There seems to be a problem in the Holodeck's spatial orientation systems."
"GEORDI: Freeze program."