Couple of useful tips for resurrection men. First, you don't need to expose the whole coffin, just a section near the head; you then break the lid, put a rope around the corpse under the arms and pull it out through the hole. Second, stealing property is a serious matter so leave any clothing or shrouds behind. Third, a wooden spade makes less noise.
For the relatives of the deceased, it is important to remember you don't need to protect the body forever, just long enough for a bit of decay to have set in.
The burial ground of St Cuthbert's in Edinburgh boasts of a watchtower to deter nocturnal activity. There is a tombstone in that graveyard which has the legend "See other side." at the bottom of the front face.
Obviously if the shot hit a villain, that is a bonus, the main purpose of these guns is to alert the watch.