In Act 4 scene 6 Horatio gets a letter from Hamlet saying that he has been captured by pirates but they have let Rosencrantz and Guildernstern free. He also explains how shocked he is that the pirates aren’t going to kill him.