The warning shot maybe wasn’t a good idea.
He did ok backing away and getting the second shot off. Could have been better with his footwork. Feet too close together for good stability.
I see he lost a shoe and almost stumbled. But the shoe distracted the bear for a moment, maybe the difference for the shooter to get to safety.
If people would chill out, have a coffee or something, and just let the bears ramble through while enjoying the show, nobody bear or human would get hurt.
If you don’t leave food out the bears won’t find much of interest and will move on.