The Big Goodbye
S1, E12: When the holodecks malfunction, the Captain and three crew members become trapped in San Francisco, 1941, where they are held hostage by murderous gangsters.

S1, E12: When the holodecks malfunction, the Captain and three crew members become trapped in San Francisco, 1941, where they are held hostage by murderous gangsters.