I've eaten a couple bears, but like deer and moose, they never seem to be around when you really want them to be.
Peppered one's butt with birdshot last summer in an attempt to 'train' it, but that hardly seemed to get its attention. As my veterinarian said, "They have a whole different threshold of pain than you and I. They like eating bees."
Usually they're a problem in the early spring and late fall. In the summer they have other nutritional requirements and other sources of food.
Lately there's been a big sow with two cubs and a small sow with one cub hanging around the neighborhood, even in the daylight. I'd be willing to bet that someone in the area is feeding them. I bought an electric fence and should have it up in the next few days.
I also try not to put all my eggs in one basket. One hive is in the second story window of a friend's barn (problem: can't take a smoker in there). Another is at a friends place right in town. A third is about to go in a friend's chain-link enclosed apiary.
Also had a red fox messing with my hives lately. Wouldn't have believed it, but I got a picture on a game camera.