It is set by hitting its top with a mallet or hammer, which causes the shaft to wedge tightly against the sides of the hole. A tap of its back side near the top releases it.
The device is triggered by hitting its peak with a mallet or hammer, which secures the shaft firmly within the hole. A tap near its rear end releases it.