While Hamlet contemplates suicide throughout the play, he ultimately does not take his own life. He is killed in a duel with Laertes, who is also poisoned.