Kendall:Maybe so. But a petard was a short-muzzled brass-strapped cannon-like barrel whose special purpose was to be wedged up against the thick doors of forts or towns and blast holes in them. If one was careless mounting and firing a petard it could blow you up instead of the door --- thus "hoist by his own petard".
A