There are two videos here one after the other. Watch them both, both are different situations.
https://www.youtube.com/watch?v=401ATHqOCOg&app=desktopOne of the dumb things I see people do on TV or movies is they come across a bear that isn't aware of their presence and instead of sneaking off so the bear is unaware, they yell at the bear, "Hey Bear!!!" Bad idea. Second video shows that isn't always possible but having to shoot the bear isn't always necessary either. Be prepared in either situation. In the second the guide knew early on what the possibility was and had his gun out. In the first one it's obvious they had time to prepare. May have waited too long, hard to tell from the video what the distance was. Your brain is your most important weapon.