If I'm in a situation where using a firearm as a club seems "logical", I'm pretty sure that pointing and shooting will seem even more logical.
There is the rare situation where it would make sense, but you would not want to shoot.
There is also the situation where you are out of ammo, but still confronting an immediate assailant.