A surgical stapler comprises an anvil assembly, an anvil shaft, a driver, an actuating arm, a safety switch, and a safety feature. The anvil assembly couples with the anvil shaft. The driver drives a plurality of staples into tissue. The actuating arm is in communication with the surgical stapler and is configured to actuate the driver to drive the plurality of staples into tissue. The safety switch is moveable between a locked and an unlocked position. The safety switch prevents operation of the actuating arm when the safety switch is in the locked position. The safety switch enables operation of the actuating arm when the safety switch is in the unlocked position. The safety feature may prevent operation of the driver even when the safety switch is in the unlocked position or prevent operation of the safety switch.