I think I'd rather hide the hardware and risk getting caught and losing the boat, going to jail, or having to pay a big fine bribe, etc, than face pirates with nothing but a 12 gauge. Although I'm glad they had the 12 ga.
To declare, or not to declare, that is the yachties' question. Pros and cons either way, and I've done both.