Pretty sure I know what you’re saying and not a bad idea. I see you are in Utah so the chance of running into a grizzly there is extremely slim. Chances of a black bear attack is pretty slim as well depending on proximity. If both of you are surprised by the relative lack of distance between you it can certainly happen. If it doesn’t happen, doesn’t mean you are out of the woods. Black bears are more likely to be predatory than others. First thing they will do is size you up. Can I take him. Then they look for an opportunity. Like many attacks whether bear or cougar they know they have a better chance if you are facing away. That facing away includes a chase scenario. Be alert until you have left the area, although if you happen to run into a predatory bear they will pursue you. For those that carry pepper spray, once you spray a bear and they go away, it’s time to evacuate the area, as black bears are more likely to return. Stay aware.
I just don’t have a lot of confidence in spray.
Personally it’s important to be aware of what species you are dealing with, and especially if you are hunting where you are likely to run into either a black bear or a Grizzly. Unless you’re in ideal conditions and angle it can be difficult.
Alaska fish and game has a video where it’s easier to see that.