I’ve heard that a .22 LR is the most effective bear medicine. You shoot the person nearest to you in the knee then run like hell.
I think you would die first since the bear is more likely to fixate on the runner.