Bears close to home (front yard) tend to just mosey off when yelled at during the night. By the time I get shoes, shorts on they have disappeared into the woods, not a good idea to follow at that point.
I have not seen a bear since my late dog passed on 10 years ago. We ran across sows with cubs numerous times, early in the morning after we had started our days bp trip. One time was late morning, a sow chased her cubs up a tree while we were still a good distance away, then came back, looking for my dog and I. As soon as I shifted my weight to another foot, it zeroed in on me. Another time, bascially the same, chase cubs up a tree, mom moves out a ways. The bear seems to spot me about the time I see them. When in Alaska a few years ago, our group of 6 got pretty nervous when we had to go thru a patch of willows with scat all over. Hey bear, hey bear. :)
Running makes you prey.