The accounts I have read indicate that most people bayoneted, even in WW1, were already surrendering. The Japanese use of bayonets in WW2 was an exception.
They are not super useful in modern warfare. But home defense is not modern warfare. The trench shotgun is what my wife keeps at hand when I am not around. A large part of that choice is the idea that the sound of chambering a round and the appearance of a angry redhead with a shotgun/bayonet combination should discourage any but the most dedicated aggressor. The goal is always to avoid anyone actually getting hurt.
Another advantage of the shotgun is that it is uncomplicated. That matters under stress.
I personally like bayonets as a collector’s item. Probably my favorite is the 1886 french Lebel. Most of the ones found today have been shortened, but the originals are tremendously stabby, with a cruciform cross section.

1 Like