That's why I carry my .44 Mag when hiking in the local area. It's quicker to grab than a branch and pen.
I often turn around when I am hiking. No telling what maybe behind us on the trail.