My favorite is still my winchester defender with 7 rounds of slugs & buckshot. Mind you is does no good leaning against the tree....
If I had a choice, it'd be a 1911, double stack .45. I'd think a 10mm would be fine if you can shoot it under that pressure. Practice, Practice, Practice.
I've met bears in remote areas before. Sows with cubs are the most dangerous, but I've only encountered them from a distance on rare trips. Never been charged in over 20 encounters. Mostly black bears. Be smart and pay attention to your surroundings, keep food & waste containded, and bears will be nice to look at.
Having a pistol, or any firearm for protection can lead to a false sense of security. I'm not saying don't bring one, but the best defense is no encounter at all. I've met plenty of stupid people who fail to take precautions just because they have a firearm.