Peace and Quiet

https://www.google.com/patents/US208672

Ohio inventor Philip Clover came up with a dramatic way to discourage body snatchers in 1878: a “coffin torpedo.” Basically a live cartridge is attached to the body by hidden wires so that “any attempt to remove the body after burial will cause the … injury or death of the desecrator of the grave”:

The trigger-wires are secured to the arms, legs, or other portion of the body of the corpse in such manner as to induce to the tripping of the trigger should any attempt be made to withdraw the body from the casket. The torpedo is loaded … just prior to the final closing of the casket.

“The torpedo may be placed in variable positions within the casket, and properly concealed by the trimmings of the casket or the apparel of the corpse.” Clover points out that there’s no need to protect the weapon from the elements — by the time it ceases to work, “the body would be of no use to robbers.”