I have had two run-ins with bears on two separate occasions while camping in the Big Bear area.
The first time I was out on a hike and came across a bear cub. It was about 50 yards away and 40 ft up a tree. As soon as I saw the bear I stopped in my tracks and slowly started walking backwards. Once out of view of the bear I headed back to camp and that was that.
The 2nd time I was camping in Seven Oaks when a bear came onto our campsite. It was no more that 50 ft away. After about 30 minutes of digging through the trash it returned back to the forest.
When a bear is digging through trash its most likely because it is hungry. That is no reason to shoot it.
To avoid such incidents I suggest keeping food and or trash as far away from your campsite, vehicle and or home.
On both occasions I was armed but never felt like I was in immediate danger.