Hamlet uses metaphorical language over here. By calling it “The Mouse-trap,” he refers to his uncle, for whom this play is like a mouse trap. In fact, he sees his uncle as an unwanted vermin, a mouse is a creature that steels things like food and other eating items from people, and in this case it his step father, Claudius.