Shoot the thing! Good grief. I think God put some critters on earth to test humans to see if we're smart enough to kill the things. Crocodiles and sharks fall into those categories.
Many years ago I was walking on a dirt road with my Mom and other members of our family. This was a vacation home area on the south coast of Rhode Island where we'd rented a home for a family reunion. It had been raining off and on so I had a rolled up umbrella with me. As we passed the driveway for another vacation house a dog came down towards us, growling. I shifted the umbrella from my other hand to the side the dog was on and made a point to place myself between the dog and my family. My mom said "be careful, he'll think you're going to hit him."
I replied "smart dog." The dog got the idea and backed off.
If I'd had a gun I would have unsnapped the holster or chambered a round, depending on type.