If you are with one or more other persons, the caliber is irrelevant. .38 special, 9mm, .308, heck even .22 is fine. Any of those is powerful enough to damage the foot of the person standing closest to you.
I don’t have to be faster than the bear I just have to be faster than you!