Frame of Mind
Frame of Mind was a  written and directed by  chief medical officer Beverly Crusher. Her theater troupe performed the play in 2369, with Enterprise-D first officer Will Riker in the lead role. Set in a single hospital room, the play dealt with a man accused (possibly falsely) of murder struggling to maintain his sanity after being placed in an abusive mental hospital. Data played the role of psychiatrist who attempted to break Riker's character's spirits.

When Riker was abducted and subjected to the neurosomatic technique by Suna while on planet Tilonus IV, events in his unconscious mind revolved around Frame of Mind, and he found himself shifting between his life on the Enterprise-D and acting in the play to being the actual character in the play. Counselor Troi later believed that his mind used the play and recent elements from his real life in order to keep him sane. 

Riker personally dismantled the set of Frame of Mind following the completion of the play as part of an attempt to gain closure due it its association with his recent traumatic experience. ()

Literature