That technique works on bears, too, which is why I no longer hike solo.
Divers are instructed to swim with a buddy and carry a sharp knife