Shotgun, much as I love my semi-auto pistols.
More chance for hits with misses than the pistols & more likely to put an intruder out of commission with any hit.
I've seen a couple of people who were hit with shotguns at close range...........not pretty & neither survived.
MM