Very close. A petard is actually an explosive device. If you set it off by accident, it will indeed "hoist" you!
Its also an animal trap involving rope and bent branches.