I had come to the end of a run on our local bike path. A woman was standing in the exit with her back to her dog, which was off the lead on the path. He stood and barked at me so I couldn't go forward. I said "stop" loudly, which made it worse. She told me he was friendly but didn't do anything to stop him barking at me.
Instinctively, I then shouted "stop" at him again and she told me that was making it worse. I was really annoyed and said something about it being traumatic to be barked at if you have had a bad experience with a dog. We were clearly both really pissed off with the other and it didn't feel like a pleasant or constructive exchange.
I'm pretty neutral on dogs and wouldn't say I was generally afraid of them, though I have been bitten by a strange dog long ago. But I found it really unpleasant to either just stand there or push past a barking dog. I don't know what she expected me to do, but she clearly thought I was unreasonable. I would have liked her to hold her dog back and let me pass - which is what I would do when I walk my mum's dog which can be quite reactive.
YABU It's not a big deal to be barked at by a strange dog
YANBU She should have taken responsibility and held her dog back so I could feel safe to pass