In Hamlet Act 4, Claudius sends Rosencrantz and Guildenstern to England with a sealed letter ordering the English king to execute Hamlet immediately upon arrival.
Hamlet discovers the plot, rewrites the letter to order R&G's execution instead, and escapes back to Denmark via pirate attack.
Claudius's plan: remove the threat permanently, abroad, with deniability.