Ship in a Bottle
Stardate: 46424.1
Original Airdate: 25 Jan, 1993

[221b Baker Street]

(Sherlock 'Data' Holmes and Doctor 'Geordi' Watson are expounding the solution to a mystery)
DATA: it was then that I began to suspect that your brother did not die by his own hand. That he was, in fact, murdered.
GENTLEMAN: (looking and sounding remarkably like Terry Jones) Murdered? Huh. Good Lord!
LAFORGE: But, Holmes! The vial of poison found in his hand.
DATA: That was the first clue, Watson. The vial contained strychnine, which as you well know induces violent muscular spasms. It is difficult to imagine that someone in the throes of so gruesome a death could have held on to so delicate a container without shattering it.
LAFORGE: You don't mean?
DATA: Exactly! The vial was placed in his hand after he died.
LAFORGE: Then what was the cause of death?
DATA: The cigar, of course.
GENTLEMAN: Cigar?
DATA: Upon closer inspection of the room where your brother was found, I discovered a fresh burn mark on the carpet. Further analysis of the ash revealed that the cigar was laced with strychnine.
GENTLEMAN: This is utter nonsense. What about the suicide note? It was written in my dear brother's own hand.
DATA: With practice, handwriting can be forged. It takes a trained eye to notice certain discrepancies. For example, whether someone is right or left handed!
(Data throws a box of matches to the gentleman, who catches it in his right hand.)
DATA: Your brother was right handed! The alleged suicide note was written by a left handed individual such as yourself!
LAFORGE: Er, Data, it's in his right hand.
DATA: Curious. There seems to be a problem in the holodeck's spatial orientation systems.
GENTLEMAN: London's greatest detective?
(he throws the matches back, laughing)
LAFORGE: Freeze programme. La Forge to Barclay.
BARCLAY [OC]: Barclay here.
LAFORGE: Reg, something went wrong with the holodeck programme again.
BARCLAY [OC]: Oh, I'm sorry. I'll look into it right away.
LAFORGE: Thanks, Reg. We should get back to Engineering, Data. Computer, end programme and save.

[Corridor]

LAFORGE: Whoa, whoa, Reg.
BARCLAY: Sorry, Commander. I'm on my way to the holodeck.
DATA: Sherlock Holmes programme three A has demonstrated some very curious anomalies.
BARCLAY: There must have been a glitch in the matrix diodes, but I'll track it down, don't worry.
LAFORGE: Thanks, Reg. See you later.

[Holodeck]

(Barclay pulls a panel from the arch wall)
BARCLAY: Computer, run a diagnostic on all Sherlock Holmes files. Display any anomalous programming sequences.
COMPUTER: Diagnostic complete. All files conform to specified parameters, except those contained in protected memory.
BARCLAY: Protected memory? Display those sequences. Computer unlock this sequence and run the programme.
(everyone say hello to Moriarty, master criminal)
BARCLAY: Who are you?
MORIARTY: Professor James Moriarty.
BARCLAY: Moriarty. Oh, that's Sherlock Holmes' arch enemy. Are you left or right handed?
MORIARTY: Left handed, Would you very much mind telling me
(Moriarty catches the thrown tool in his left hand)
BARCLAY: No problem there.
MORIARTY: Where is Captain Picard? Is he still Captain of this vessel?
BARCLAY: How would? How do you know the Captain?
MORIARTY: You don't know anything about what happened, do you? I have been stored in memory for God knows how long and no one has given me a second thought.
(memory refresher if you need it)
BARCLAY: You know! You know what you are.
MORIARTY: A holodeck character? A fictional man? Yes, yes I know all about your marvellous inventions. I was created as a plaything so that your Commander Data could masquerade as Sherlock Holmes. But they made me too well and I became more than a character in a story. I became self-aware. I am alive.
BARCLAY: That's not possible.
MORIARTY: But here I am. Tell me, has a way been found to allow me to leave the confines of this holodeck world?
BARCLAY: Leave the holodeck? No, of course not. You can only exist in here.
MORIARTY: Damn you, Picard. He promised me something would be done. I should have realised he would have said anything to get me to release my hostage.
BARCLAY: Hostage?
MORIARTY: How long have I been locked away?
BARCLAY: Well, it l ooks like about four years.
MORIARTY: It seemed longer.
BARCLAY: What are you talking about? You can't possibly have been aware of the passage of time.
MORIARTY: But I was. Brief, terrifying periods of consciousness. Disembodied. Without substance.
BARCLAY: I don't see how that could be possible. Maybe there was a fragmentation of the protected memory circuits.
MORIARTY: Call it what you will. All I know is that despite Picard's promise, he's done nothing. Just left me to go quietly mad.
BARCLAY: He would not have forgotten his promise. The Captain would not do that.
MORIARTY: I'd like to talk to him.
BARCLAY: Well, I can ask.
MORIARTY: Ask him to meet me in the sitting room at Baker Street. That would be far more appropriate.
BARCLAY: I'll have to store you in memory again until I get an answer.
(Reg pulls out a chip and puts the cover back. Moriarty vanishes. Barclay leaves. Moriarty reappears with a sly smile.)

Captain's log, stardate 46424.1. The Enterprise has arrived at the Detrian system to observe a unique celestial event the collision of two planets.

[Engineering]

DATA: Since both planets are gas giants, neither possesses a solid surface. Their atmospheres, however, will come into contact in approximately seventeen hours nine minutes.
LAFORGE: If their collision causes a self-sustaining fusion reaction, this is what we are likely to see. The birth of a new star. The Enterprise will hold position until the gravitational instability subsides and we can get in for a closer look. Now I want triple redundancy on all of the sensor arrays. We'll probably never get another chance to see something like this. I don't want to miss anything. Okay?
BARCLAY: Commander, you'll never believe what happened while I was working on your programme in the holodeck. Professor Moriarty appeared, out of nowhere.
LAFORGE: What?
BARCLAY: And he wants to talk to the Captain.

[Corridor]

BARCLAY: Computer, begin Sherlock Holmes programme three A and place us in the drawing room at Two Twenty One B Baker Street.
COMPUTER: Programme complete.

[221b Baker Street]

BARCLAY: Computer, access protected memory and run Moriarty programme.
PICARD: Professor. It's good to see you again.
MORIARTY: If you'd missed my company, I should think you'd have summoned me before now.
PICARD: I want to assure you that we've not forgotten you. We spent some time investigating how you became self-aware. Frankly, it still remains a mystery.
MORIARTY: It is also irrelevant. What concerns me is finding a way to leave the holodeck.
PICARD: We have been wrestling with that problem too, unfortunately without any success. But we have turned our findings over to Starfleet's most experienced theoretical scientists.
MORIARTY: And what did your finest minds come up with?
PICARD: Unfortunately, they have not arrived at a solution either.
MORIARTY: I see.
PICARD: Professor, I am concerned to learn that you experienced the passage of time while you were stored in the computer memory. I can assure you, we had no idea that that would be the case.
MORIARTY: Enough of this. I no longer believe anything you say.
PICARD: Professor, I understand your frustration.
MORIARTY: Do you really? When this is over, you will walk out of this room to the real world and your own concerns, and leave me here trapped in a world I know to be nothing but illusion. I cannot bear that. I must leave.
PICARD: That is not possible. You cannot exist outside this room.
MORIARTY: Are you certain of that?
PICARD: Computer, exit.
(the door opens onto the corridor)
PICARD: Although an object appears solid on the holodeck, in the real world they have no substance.
(Picard throws out a book. It vanishes)
MORIARTY: An object has no life. I do.
PICARD: Professor, you are a computer simulation.
MORIARTY: I have consciousness. Conscious beings have will. The mind endows them with powers that are not necessarily understood, even by you. If my will is strong enough, perhaps I can exist outside this room. Perhaps I can walk into your world right now.
PICARD: Professor, I ask you to believe me. If you step out of that door, you will cease to exist.
MORIARTY: If I am nothing more than a computer simulation, then very little will have been lost. But if I am right? Mind over matter. Cogito ergo sum.
(Moriarty walks out into the corridor, and does not disappear)
MORIARTY: I think therefore I am.

[Corridor]

DATA: Data to Security. Send two officers to holodeck three.
PICARD: How is this possible?
BARCLAY: It isn't.
DATA: This contradicts everything we know about holodeck physics.
MORIARTY: Then perhaps you don't know as much as you thought.
PICARD: Professor, will you come with me? I'd like our Doctor to examine you.
(Security arrives)
MORIARTY: Certainly, sir. Policemen. I'd recognise them in any century.

[Sickbay]

CRUSHER: As far as I can tell, he's real. He's human.
MORIARTY: What else would I be, dear lady?
CRUSHER: His DNA is a little unusual, but all the major systems are there and functioning normally.
LAFORGE: As far as I can tell there's no evidence that his molecules are losing any cohesion. They seem to be as immutable as ordinary matter.
PICARD: Well, Professor, my crew will continue to investigate, but for now it would seem you have accomplished a miracle. The question is, now that you're here, what do we do with you?
MORIARTY: I ask only that I be allowed to explore this new world. Your vessel, for instance. What sea does she sail? Might we go above deck? Weather permitting, of course.
PICARD: Professor, I think there are some things of which you should be made aware.

[Ten Forward]

MORIARTY: My God! We're adrift in the heavens.
PICARD: No, not adrift. The Enterprise is a starship, capable of travelling through space.
MORIARTY: Extraordinary. Are we far from Earth? What is the range of this ship? What means of locomotion does it use? There's so much for me to learn. I hardly know where to start.
PICARD: I can give you books that will help.
MORIARTY: Good, good. I want to start making plans. Determine what I'm going to do with my life.
PICARD: I hope you will plan on remaining on board for a while. There is still much that we need to understand about what has happened to you.
MORIARTY: Does it really matter? The point is, I'm here, and I'm eager to get on with life.
PICARD: Professor, I feel it necessary to point out that criminal behaviour is as unacceptable in the twenty fourth century as it was in the nineteenth. And much harder to get away with.
MORIARTY: Don't worry, Captain. My past is nothing but a fiction. The scribblings of an Englishman dead now for four centuries. I hope to leave his books on the shelf, as it were.
PICARD: If that's so, then there are opportunities awaiting you that are beyond anything you have ever imagined.
MORIARTY: Your century may welcome me, but
PICARD: What is the matter?
MORIARTY: In considering all these vast possibilities, I suddenly feel very much alone. I am a man out of time, Captain, and that isolates me. You have been more gracious than I could ever have imagined, I wonder, may I impose on your generosity once again? There is a woman, the Countess Regina Bartholomew. She was created as a holodeck character for one of Commander Data's programs. She was designed to be the love of my life. Could she also be brought off the holodeck?
PICARD: Professor, I ask you to believe me when I say that we do not know how or why you are able to exist off the holodeck.
MORIARTY: I do. I do believe you.
PICARD: According to the laws of physics, this is impossible. We would have no idea how to do it again.
MORIARTY: As I understand it, I was endowed with consciousness four years ago when someone said to the computer, create an opponent with a capacity to out-think Data. or words to that effect. Could we not make a similar request on behalf of the Countess?
PICARD: Even if I had reason to believe that would be successful, I don't think that I could sanction it. Please understand, Professor, that you are in essence a new life form. One that we didn't intend to create and that we don't fully understand. Now the moral and ethical implications of deliberately creating another one like you are overwhelming.
MORIARTY: Is it morally and ethically acceptable to deny the woman I love so that you can put your conscience at ease? Are you saying that you will simply dictate how I am to live my life?
PICARD: I assure you, we will do everything possible to make you comfortable.
MORIARTY: So long as I accept the terms under which you dole out those comforts. Captain, I am a powerless man. You hold my future, my happiness, my very life in your hands. Please, consider my request.

[Observation lounge]

TROI: I understand his frustration. We created him and we created her to be the woman he loves. Surely we have some responsibility to them.
CRUSHER: It's very romantic, but until we know just what it was that walked off the holodeck, I don't think we should be trying it again.
BARCLAY: Even if we decided to do it, there's no guarantee that we'd be able to.
DATA: There is also no way of knowing if the Professor's ability to exist off the holodeck is permanent. It may be unwise to consider creating a second individual while this uncertainty exists.
PICARD: Agreed. We don't have enough information about this phenomenon to act in a responsible way. I think we'll hold off on Professor Moriarty's request for now, but continue with your investigation. In the meantime, I have to deal with Professor Moriarty.

[Moriarty's quarters]

PICARD: I feel I must postpone action until we learn more.
MORIARTY: Yes. You know all about that. I stayed in the dungeon of your computer for years waiting for you to learn more. It wasn't until I took things into my own hands that something got done.
PICARD: Professor, I wonder why you're in so much of a hurry. Is this woman involved with you in some illegal venture?
MORIARTY: Your computer designed her to be a person of impeccable integrity. She would never commit a crime.
PICARD: You must love her very much.
MORIARTY: The programme fashioned her for me to love. But I must admit, I would have done so anyway. She is remarkable. My life has not been the same since I met her. I don't simply love her, Captain. I adore her.
PICARD: Then her safety must be very important to you. Give us time to determine what is going on happened here. That way we can minimise the risks in bringing her to you. You wouldn't want to lose her because we acted too quickly.
RIKER [OC]: Riker to Captain Picard.
PICARD: Picard here.
RIKER: Could you join us on the Bridge?
PICARD: On my way.

[Bridge]

RIKER: There they are, Captain.
PICARD: How long until they begin to coalesce?
DATA: Within the next five hours, sir.
(two angry red balls of gas within touching distance of each other on the viewscreen)
PICARD: Mister Worf, launch four Class A probes toward the planets.
WORF: Aye, sir.
PICARD: Mister Worf?
WORF: I don't understand.
(the consoles go dark then flicker on and off)
WORF: Controls are not responding.
DATA: Command functions are being rerouted, sir.
PICARD: For what reason?
DATA: Unknown, sir.
PICARD: Computer, route all command functions to the Bridge.
COMPUTER: Command functions are offline.
PICARD: Reinitialise them on my authorisation.
COMPUTER: Authorisation denied.
PICARD: Explain.
COMPUTER: Picard command codes are no longer valid.
PICARD: What's happening? Who's transferred the voice authorisation?
MORIARTY: I have. I'm afraid I had no choice but to take control of your vessel.
(Worf gets his phaser from under the tactical console)
MORIARTY: If you harm me, sir, I will not be able to relinquish voice control of your vessel.
PICARD: Professor, this situation is more serious than you realise. In less than five hours, those two planets will collide and a new star will form. Unless we move to a safe distance, this vessel will be destroyed.
MORIARTY: I'm just a fictional character. I haven't much to lose.
PICARD: But surely you wish to live like the rest of us?
MORIARTY: Not alone. Not without the Countess.
PICARD: We've discussed that. We are studying means of bringing her safely off the holodeck. But five hours is not enough time.
MORIARTY: I'm not so sure. A deadline has a wonderful way of concentrating the mind.
PICARD: Mister Data, will you investigate the possibility of complying with Professor Moriarty's request.
DATA: Aye, sir.
PICARD: In the meantime, we have a few things to discuss.

[Engineering]

DATA: Perhaps we should consider the transporter system. It uses many of the same principles as the holodeck. Both, for example, are capable of converting energy into matter.
LAFORGE: Except the transporter reconstitutes energy in a permanent form. Holodeck matter doesn't have any cohesion unless it's inside the grid.
BARCLAY: I wonder, what would happen if we tried to beam a holodeck object off the grid?
LAFORGE: Nothing would happen. A holodeck object is just a simulation. There's nothing there to provide a pattern lock for the transporter.
DATA: However, if it were possible to lock onto the object, it might rematerialise with the same molecular cohesion as conventional matter.
LAFORGE: That's a big leap, Data. I just don't think the transporter is going to accept simulated matter.
BARCLAY: Unless, unless we could find a way to compensate for the phase variance. If we could modify the pattern enhancers we just might do it.
PICARD: Well, Professor Moriarty has agreed not to interfere with routine ship operations so long as he believes we're acting in good faith, then I don't think we're in immediate danger. Any progress?
LAFORGE: We were just talking about using the transporter to beam the Countess off the holodeck, but I don't quite see how it's going to work.
PICARD: Well, keep at it. I have to tell him that we are making some progress. Mister La Forge. Do you have any idea how Moriarty could have gained control of the ship?
LAFORGE: Somehow he managed to override the security lockouts and rewrite them. The man is brilliant in any century.
PICARD: I want you to find some way to undo what he has done so that we can regain control of this ship.

[Corridor]

DATA: Set the pattern enhancers around whatever object you wish to transport. I will proceed to the transporter room and begin modifications.
BARCLAY: Computer, run Sherlock Holmes Programme three A.
COMPUTER: That programme is already in use.

[221b Baker Street]

(the lovely Stephanie Beacham greets Reg)
COUNTESS: Are you here to see Mister Holmes, or perhaps Professor Moriarty? Neither is in just now.
BARCLAY: Um, er, no. No, no. I'm not here to see anyone. I'm just here to deliver these.
COUNTESS: Fine. Just put them anywhere.
BARCLAY: Actually, I have to put them right here.
COUNTESS: How curious. Why is that?
BARCLAY: Well, it has to do with, er, it's nothing you need to worry about, Countess.
COUNTESS: Are you suggesting that it's beyond my comprehension?
BARCLAY: It's really very simple. I need to enhance the molecular pattern of this chair so that the transporter can get a better lock on the signal.
COUNTESS: This has to do with taking James and me into the real world.
BARCLAY: You, you, you know about that? You understand about the real world?
COUNTESS: James has explained it to me. It sounds like a grand adventure. There's nothing I love more than voyaging in the unknown. Have you ever been to Africa, Mister?
BARCLAY: Er, Barclay. Lieutenant Reginald Barclay. No, no, I haven't.
COUNTESS: I have. When I was seventeen I went on safari with my uncle. My mother took to her bed in terror I'd be bitten by tsetse fly, but I had a marvellous time. I got to wear trousers the whole time. It was hard to go back to a corset, I can tell you.
BARCLAY: Yes, I'm sure it was.
COUNTESS: After that, I never stopped travelling. I couldn't bear to be stuck in one place for very long. So you see I'm so looking forward to this new experience. My. Travelling the stars.
BARCLAY: You know about that? You know where we are? Countess, forgive me, but you just don't sound like a holodeck character.
MORIARTY: That's because she isn't.
COUNTESS: James!
(Moriarty and the Countess kiss passionately)
MORIARTY: If you loved a woman like this, Lieutenant, would you be content to let her remain a simulation?
BARCLAY: You, you gave her consciousness?
MORIARTY: Yes, just as it was given to me.
BARCLAY: Well I'm not so sure that's a good idea.
MORIARTY: Nonsense. It was the only thing to do.
BARCLAY: Have you tried to take her off the holodeck yet?
MORIARTY: No. I am unwilling to risk the Countess' safety. I want to make sure nothing will happen to her.
COUNTESS: We may be closer to freedom than you think, James. These devices will enhance our molecular patterns. They'll help take us into the real world.
MORIARTY: Oh, please, proceed.
BARCLAY: Well, we're going to try to transport this chair off the holodeck first. We didn't want to try it on the Countess until we were sure it would work.
COUNTESS: How thoughtful. Isn't he thoughtful, James?
BARCLAY: Barclay to Commander Data.

[Transporter room]

DATA: Go ahead, Lieutenant.
BARCLAY [OC]: I'm ready here.
DATA: Modifications are complete.

[221B Baker Street]

DATA [OC]: Stand by.
BARCLAY: Standing by.

[Transporter room]

DATA: Activating pattern enhancers. Energising. I am having difficulty establishing a pattern lock. (to technician) Boost the confinement beam, please. Pattern lock established.

[221b Baker Street]

DATA [OC]: Energising.
(the chair disappears)
COUNTESS: Oh! Bravo.
BARCLAY: Do you have the chair, Commander?

[Transporter room]

DATA: No. It lost its cohesion as soon as the transporter cycle was complete.

[221b Baker Street]

BARCLAY: Well, it was a long shot to begin with.
DATA [OC]: Agreed. However, we may be able to learn something from the attempt.

[Transporter room]

DATA: Computer, display the transport logs for the sequence just completed. (no data available) Computer, what is being displayed here?
COMPUTER: Transport log seven five nine.
DATA: That is the correct log. However, no information

[221b Baker Street]

DATA [OC]: Is being presented.
BARCLAY [OC]: Well, that's impossible.
DATA [OC]: It is almost as if

[Transporter room]

DATA: Our attempt to transport the chair never occurred.

[Engineering]

PICARD: You wanted to see me?
LAFORGE: Yes, Captain. I think I've found a way to reinstate your vocal authorisations. Give it a try.
PICARD: Computer, route all command functions to this location.
COMPUTER: Command functions are offline.
PICARD: Reinitialise them on my authorisation.
COMPUTER: Please input command codes.
PICARD: Picard, epsilon seven nine three.
COMPUTER: Command codes verified.
LAFORGE: That's it. That should do it. Wait a minute. It didn't work. The computer won't release the command pathways.
DATA: Geordi.
(Data throws a small device to La Forge, who catches it in his left hand)
LAFORGE: Why did you do that, Data?
DATA: Captain, I have determined how Moriarty was able to leave the holodeck. He never did. Neither did we. None of this is real. It is a simulation. We are still on the holodeck.
LAFORGE: We're still on the holodeck?
PICARD: How do you know that?
DATA: Through deduction, sir. Lieutenant Barclay and I tried to transport a simulated object off the holodeck, something that has never been attempted. Since the transporter itself is a simulation, the computer had no real data from which to create the transport logs.
LAFORGE: Maybe it was just a malfunction in the transporter.
DATA: Then I saw you working the PADD with your left hand. Commander La Forge is right handed, sir. A similar malfunction occurred in the Sherlock Holmes programme I was running before Moriarty first appeared.
PICARD: Mister Data, if what you say is true, then this is not Geordi La Forge. Are you certain?
(Data throws his comm., badge towards the warp core. The grid appears for a moment)
PICARD: Computer, discontinue programme. Computer, exit.
DATA: Moriarty appears to have programmed the holodeck to accept only his commands.
PICARD: Picard to Bridge.
RIKER [OC]: Riker here.
PICARD: Number One, what is my present location?
RIKER [OC]: Engineering. Is something wrong, sir?
PICARD: No. Thank you. Picard out. Our comm. badges must be locked into the simulation. If that had been the real Commander Riker, he would have given my location as holodeck three. Mister La Forge, will you excuse us, please?
(Geordi leaves)
PICARD: Mister Data, who is real here?
DATA: You and I are real, sir, as is Lieutenant Barclay. We entered the holodeck together when we first went to see Moriarty.
PICARD: And from that point we have been existing in a holodeck simulation created by Professor Moriarty?
DATA: I believe that is the case, sir.
PICARD: I have just given the computer my command codes, thinking I would get control of the ship.
DATA: You may have inadvertently given Professor Moriarty the means of gaining control of the real Enterprise.
PICARD: Since Professor Moriarty never actually left the holodeck, he may demand that Commander Riker help him to do so. How long until the planetary collision?
DATA: Less than three hours.
PICARD: So long as Moriarty has control of the ship, we are vulnerable. Somehow, I have to find a way of giving him what he wants.

[Bridge]

RIKER: Where is Captain Picard? What have you done with Lieutenant Barclay and Commander Data?
MORIARTY [on viewscreen]: They're safe, for now.
RIKER: Release control of this ship.
MORIARTY [on viewscreen]: I'm afraid I can't do that.
RIKER: What do you want?
MORIARTY [on viewscreen]: I only want what you have the luxury of taking for granted. Freedom. I want to leave this holodeck.
RIKER: I think you know that's impossible.
MORIARTY [on viewscreen]: Your crewmates here in my little ship in a bottle, seem a bit more optimistic.
RIKER: Oh?
MORIARTY [on viewscreen]: They attempted to use your transporter device to remove a simulated object from the holodeck.
LAFORGE: If they tried it, they must have thought they were on to something.
MORIARTY [on viewscreen]: Their attempt was futile because their transporter was a facsimile. I expect more from you.
LAFORGE: Just because our transporter is real doesn't mean it's going to work.
MORIARTY [on viewscreen]: I sense a distressing lack of enthusiasm on your parts.
WORF: Sir, warp core temperature is rising. Approaching critical levels.
MORIARTY [on viewscreen]: I have nothing to lose, Commander.
RIKER: Mister La Forge, start working on the problem.
LAFORGE: Aye, sir.
WORF: Core temperature dropping.

[Corridor]

PICARD: Computer, resume programme.

[221b Baker Street]

COUNTESS: Hello. Have we met?
PICARD: Captain Jean-Luc Picard.
COUNTESS: James has told me all about you. I am Regina, Countess Bartholomew. Do sit down. May I offer you some tea, Captain?
PICARD: Thank you, no. I've come here to prevail upon your intelligence and your insight.
COUNTESS: But not apparently my humility.
PICARD: Credit where credit is due, madam. I can see you are a woman not only of breeding, but of wit and sagacity.
COUNTESS: And you, sir, are a man of charm and guile. You remind me of Viscount Oglethorpe. He was a man could bewitch any woman who breathed.
PICARD: And do you suspect that that is my intent?
COUNTESS: I cannot be certain of your intent, but I am certain that you're the kind of man who usually gets exactly what he wants.
PICARD: What does a woman like you see in a man like Moriarty?
COUNTESS: He's an exciting man, Captain. He's brilliant, incisive, he's ruthless. He has an almost irresistible appeal.
PICARD: He's also an arch-criminal.
COUNTESS: Only because he was written like that. I see him entirely differently, Captain, he is not a villain.
PICARD: So it's your desire to leave the holodeck to be with him.
COUNTESS: More than anything. Can you help us?
PICARD: Yes, I can. We have learned that if we uncouple the transporter's Heisenberg Compensators and allow them to re-scramble randomly, we can beam a holodeck object or a person off the grid with all of the cohesion of conventional matter.
COUNTESS: Oh! Oh, that's splendid. I must tell James.
PICARD: No, please. Wait. I have brought you this information because I think you are someone who will listen to a reasonable proposition. Someone whose mind is open to compromise.
COUNTESS: Yes?
PICARD: My ship is in danger. It is imperative that I regain navigational control. I want you to persuade Professor Moriarty to return the voice command to me, or I will not modify the transporter.
COUNTESS: I see.
PICARD: Now, once I have regained voice command, I will transport you from the holodeck.
COUNTESS: Forgive me, Captain, but that does sound more like a threat than a compromise.
PICARD: Countess, you must understand that I am responsible for more than one thousand lives.
COUNTESS: I will do what I can.

[Bridge]

(the two planets are merging)
LAFORGE: The gravity well is beginning to intensify.
RIKER: Are we far enough away to keep from being pulled in?
LAFORGE: It's too soon to tell.
RIKER: Riker to Lieutenant Worf.
WORF [OC]: Worf here, sir.
RIKER: How are you doing?

[Corridor]

WORF: There are force fields blocking our access to the holodeck. It will take time to disable them.
RIKER [OC]: Keep trying.
WORF: Aye, sir.

[221b Baker Street]

MORIARTY: Think, my dear. You're certain he said they had to uncouple the Heisenberg compensators?
COUNTESS: Yes, James, I'm quite certain. But he won't do it unless you return control of the ship to him.
MORIARTY: I have them running around like rats in a maze.
COUNTESS: What harm would there be in accepting his proposition?
MORIARTY: My dear, you are as brilliant as you are beautiful. Nonetheless, there are things you do not understand. Now, please, you must let me handle this. Computer, arch. Moriarty to Commander Riker.
RIKER [OC]: Riker here.
MORIARTY: Commander Riker, a pleasure as always.
RIKER [on monitor]: I don't have time for games, Moriarty. This ship is falling into a gravity well. It'll be destroyed within twenty five minutes, holodeck and all.
MORIARTY: Then I'm sure you'll be motivated to listen to me very, very carefully. I want to talk to you about uncoupling the Heisenberg compensators.
(after the break)
COUNTESS: James, when we go leave here, where exactly are we going?
MORIARTY: Everywhere, my darling. There are more worlds in the heavens than there are grains of sand on a shoreline.
COUNTESS: I wish I could take my books. I will be so lost without them.
MORIARTY: I'll get you more. Don't worry. I promise you, you'll want for nothing.
RIKER [OC]: Riker to Moriarty.
MORIARTY: It's time. Yes, Commander?
RIKER [OC]: We're ready.
MORIARTY: As are we.
RIKER [on monitor]: Step inside the transport area.
MORIARTY: We're ready here.
RIKER [OC]: Activating pattern enhancers. Energising.

[Transporter room]

RIKER: Welcome aboard.
MORIARTY: May I present Regina, the Countess Bartholomew.
RIKER: Countess.
COUNTESS: Commander.
RIKER: You'll forgive me if I skip the formalities given the circumstances.
MORIARTY: Ah, yes. I expect you want me to relinquish my hold on your vessel.
RIKER: Please.
MORIARTY: I'm afraid that won't be possible just yet.
RIKER: We had an agreement.
MORIARTY: And I intend to honour it. I have no desire to see your vessel destroyed. Just give me one of your shuttlecraft, and allow us to leave in peace.
RIKER: We don't have time for this. You release the command codes and we'll talk.
MORIARTY: I will not release your vessel until I am looking at it through a shuttlecraft window.

[Shuttlebay]

RIKER: Everything has been programmed to operate on voice command. you just tell the computer where you want to go.
MORIARTY: Excellent.
RIKER: I suggest you head for Meles Two. It's the nearest inhabited planet, the people are friendly. Where you go from there is your business.
MORIARTY: Please tell your Captain I'm sorry I couldn't say goodbye. I do wish I could see his face when he realises where he's been the last several hours.
RIKER: Every second we waste puts us in that much more danger.
MORIARTY: Don't worry, Commander. You'll soon have control of your ship.
COUNTESS: Goodbye, Commander. Thank you for everything.
MORIARTY: Computer, prepare to depart.
RIKER: Open shuttlebay doors.
(shuttle Sakharov flies off)

[Shuttlecraft]

COUNTESS: This is so beautiful.
MORIARTY: Indeed, my dear. It is a wondrous sight. The first of many we are sure to encounter in our travels. Computer, interface with the central computer on the Enterprise.
COMPUTER: Interface complete.
MORIARTY: Release command function lockouts. Authorisation Moriarty, alpha two four one five nine.
COUNTESS: James?
MORIARTY: Yes, my love?
COUNTESS: Can we go back to Earth some day?
MORIARTY: Of course, my dear. Of course.

[Shuttlebay]

PICARD: Computer. Store programme Picard delta one in active memory and discontinue simulation.
(the shuttlebay disappears)

[Holodeck]

COMPUTER: Programme stored.

[Corridor]

PICARD: Well, it worked. They believed they were off the holodeck.
DATA: Did Moriarty release the voice commands, Captain?
PICARD: Let's find out. Computer, discontinue holodeck simulation created by Professor Moriarty.
(the corridor disappears)

[Holodeck]

BARCLAY: So far, so good. This should be the holodeck on the real Enterprise.
PICARD: Picard to Bridge.
RIKER [OC]: Captain, are you all right?
PICARD: Yes, we are, Number One. What is your status?

[Bridge]

RIKER: Our systems came back online a few minutes ago.
PICARD [OC]: And the planetary collision?
RIKER: We're pulling back to a safe distance.

[Holodeck]

PICARD: We'll join you shortly.
WORF: Captain.
PICARD: Mister Worf, everything is all right.
(Reg takes the memory block out of the arch panel)

[Observation lounge]

RIKER: How did you do it, sir?
PICARD: We managed to programme the holodeck inside the holodeck, and use the same ruse that Moriarty used on us.
DATA: When he was attempting to contact the real Bridge, he was in fact speaking to a simulation.
TROI: You mean he never knew he hadn't left the holodeck?
PICARD: In fact, the programme is continuing even now inside that cube.
CRUSHER: A miniature holodeck?
DATA: In a way, Doctor. However, there is no physicality. The programme is continuous but only within the computer's circuitry.
BARCLAY: As far as Moriarty and the Countess know, they're half way to Meles Two by now. This enhancement module contains enough active memory to provide them experiences for a lifetime.
PICARD: They will live their lives and never know any difference.
TROI: In a sense, you did give Moriarty what he wanted.
PICARD: In a sense. But who knows? Our reality may be very much like theirs. All this might be just be an elaborate simulation running inside a little device sitting on someone's table. Well, we have a newborn star to study. Mister Barclay, you will keep that safe?
BARCLAY: Aye, sir.
(everyone else leaves)
BARCLAY: Computer, end programme.

<Back to the episode listing

Star Trek and related marks are trademarks of CBS Studios Inc. Copyright 1966, Present. The Star Trek web pages on this site are for educational and entertainment purposes only. All other copyrights property of their respective holders.