Various members of Voyager's crew discover a holodeck simulation, in which the Maquis members of the ship's crew mutiny against the Starfleet officers. The program appears unfinished, and its author is unknown. As the program becomes popular, Tuvok admits he wrote the program as a security exercise for Starfleet officers under his command during the early parts of Voyager's travel back to the Alpha Quadrant; however, as the Maquis integrated well with Starfleet, Tuvok abandoned the program, believing it unnecessary. However, with its success, Tom Paris offers to help author the remainder of the program with Tuvok's help, turning the program into a full-fledged holonovel.
When the two start to work on the program in the holodeck, they suddenly find themselves trapped in the virtual brig. They are addressed by the simulation's version of former crew member Seska, who admits that before she had escaped the ship, she had discovered Tuvok's program, and created this trap should he attempt to alter it. Seska's alterations not only affect the holodeck but other parts of Voyager, threatening the well-being of the whole crew. While Tuvok and Paris attempt to survive the simulation, Captain Janeway and B'Elanna Torres attempt to effect changes in the simulation to help them. Ultimately, finding themselves cornered by the virtual Seska and her Maquis crew, Tuvok causes one of the simulation's phaser rifles to overload; the impact ends the simulation, and allows Tuvok and Paris to safely exit the holodeck.