Happened to me about 20 years ago in Alberta.
Guide didn't pick me up so I walked to a cut line and started the 4 mile walk out in the dark.
It was a really dark night and I could barely see where I was going and then I heard it. Something paralleling me in the bush beside me, I figured it was probably just a curious bear so I started walking faster and that's when he charged!
All I could hear was big woofs and could barely see a large black bear charging fast. I knew better than to run and I turned toward him and yelled with the biggest roar I had in me and swung my bow at him just nicking him as he veered off back into the bush. I grabbed an arrow out of my quiver and my knife and gave them both a death grip. There was no way I could shoot him if he charged again and they took my damn pepper spray away from me at the border.
You probably won't believe this but the bastard charged me for what felt like a dozen times but was probably only 7 or 8. Each time coming in fast woofing and slapping the ground in front of him with his front paws hard on the ground and I would yell and swing my shit at him every time for all I was worth! After about an hour I could see headlights and my guide pulled up and I jumped on trying to tell him what was happening but my voice was about gone. I pointed and he turned the quad and there he stood right in the middle of the cut no fear of the quad what so ever. "look at that big prick, he's not afraid of us one bit" he exclaimed. I was like lets get the hell out of here! He went and drove a circle right around him and we left.
I'll never forget that night, nor will I ever get out of my stand again. I will seep in the sucker and take my chances!
And this is coming from a guy that raised to black bears up as a kid on the ranch. No cage no chains, darn things thought they were dogs! ha ha ha