Untrap

The #untrap extended command will attempt to disable an adjacent trap if it can be disabled. This has a special interaction with pits, as it will instead attempt to help out any monster trapped in one.