Hamlet has just finished talking to the ghost and finding out that his father was murdered by his uncle, Claudius. The ghost has left and Hamlet swears Marcellus and Horatio to an oath not to reveal what they have seen or what Hamlet is trying to do, even if he pretends to be mad: