What? Wild boars are fun when they charge you. Either pull your protection pistol (which I was never packing when I needed it) and shoot it, or climb a tree , or jump a barbed wire fence. They are easier to escape from than bears. The tree climbing doesn’t work well for bear escapes, but I don’t know about barb wire fences.
I’m thinking of feral hogs in the southern US. Very destructive, and too many of them.