But wouldn't a pistol be better if you were 'surprised' by a bear??? With the laws about short barreled rifles we have, almost anything you can find would seem to be way too long for close in work...
Not that I would LIKE to ever get close in to a bear, but given how fast they are, and the fact that you may stumble on to one by accident, it would seem that something that you could use while on the ground or in a tree would be prudent...