We had a bear incident a few years back at one of our favorite parks. We are in a popup trailer, but we still sleep under canvas.
A couple of sites over they didn't listen to the bear warnings everyone got. They ignored the bear traps.
First night the bear trashed their place cause they had left their smores supplies out.
Second day they went fishing and caught some nice ones, had them for dinner. Left their dirtty fishy dishes out while they went to a wildlife discussion at the ampitheatre (irony coming). Bear trashed heir place again.
This time we were awake, so we followed protocol - get out of your tent/trailer, stand tall, yell and make noise. We did. We even surrounded the campsite - with a little room to spare since we didn't want to crowd the bear. The rangers came along and shot at the bear with a paintball gun with rubber balls. It took 5 or 6 hits to get the bear to move on, then he broke into a gallop.
Bears don't traditionally hunt humans for food, but bears near parks often become dependant on human food, and will ignore humans to get to it. So as long as you are neat, don't have food in your tent or trailer (we stow ours in the van) you should be ok.
I've also done some wilderness camping in the same area, but bears in the "wild" are more likely to flee unless you are close to their cubs. I talked with one canoe trip guide who said in 12 years of tripping all summer, he'd never seen a bear, though he had heard a couple of them running away. When we canoe camp, the food is strung up by rope high above the ground, and at least 100 yards from the tent.
James