Plot summary
The crew continues to enjoy the Fair Haven holodeck program. After Lt. Tom Paris 's suggestion, the holo-program is set to run continuously, but over time, the strain put on the holo-technology begins to cause problems. The hologram characters gradually realize that the visitors can change their world at will (normally, holograms' programming makes them oblivious to non-in-world aspects). Frightened, the villagers begin to suspect that the crew are spirit folk that have come to destroy Fair Haven.
Captain Janeway manages to elude her companion, Michael the barkeeper, but nevertheless asks Tom and Ensign Harry Kim to figure out the problem with the Fair Haven program. The two establish that the subroutines that make holograms unaware of anything outside their program have malfunctioned due to prolonged operation. When Tom and Harry enter the program to repair it, they are captured and held hostage by the holograms, who try to make Tom and Harry spill secrets about the spirit folks.
The Doctor, in the role of the village priest, enters the holodeck using his mobile emitter to avoid being influenced by the damaged holoprogram. However the emitter is confiscated and he is held captive with Tom and Harry. Michael, determined to find "Katie" (Janeway), puts the emitter on. Janeway, thinking that it is the Doctor, orders him transported to the bridge.
Janeway can no longer deceive Michael. She explains that her crew are on a spaceship and on a long journey. They enjoy the occasional visit to peaceful Fair Haven. They afterwards reenter the holodeck and convince the other characters that the crew has no hostile intentions.
While Torres is able to repair the program, it can no longer run continuously without risking breaking down again, so the crew decide to have one last drink together at the bar before shutting it down.
Credits
Adapted from Wikipedia contributors, Spirit Folk (Star Trek: Voyager). Paragraphs and formatting adjusted; illustrations, reference markers, block quotations and non-story material omitted.