Q inserts himself into the holodeck murder mystery, telling Picard that he has put Deanna and Worf into a deathtrap which they can only escape if Picard discovers the murderer.