| |||||||||
A petard was a medieval term for a small bomb used to blow up gates and walls when breaching fortifications.
It remains in modern usage in the phrase to be hoist by one's own petard, which means to be harmed by one's own plan to harm someone else. Shakespeare used the now proverbial phrase in Hamlet.
Spoiler warning: Plot or ending details follow.
In the following passage, the "letters" refer to instructions to be carried sealed to the King of England, by Hamlet, Rosencrantz, and Guildenstern, the latter being two schoolfellows of Hamlet. The letters, as Hamlet suspects, contain a death warrant against Hamlet, who will later open and modify them to instead request the execution of Rosencrantz and Guildenstern. Engineer refers to a military engineer.
After modifying the letters Hamlet escapes the ship and returns to Denmark.
A modern (1966) play "Rosencrantz and Guildenstern are Dead" was written by Tom Stoppard, containing (imaginatively) all that happens to Rosencrantz and Guildenstern off-stage while Hamlet is occuring on-stage, including this journey to England.