I would certainly want to be armed if I were a sailor traveling through areas rife with piracy. However, I imagine ports have policies against ships being laden with explosives or otherwise equipped with certain weapons.
The destroyer USS Bainbridge is now on the scene. She carries arms - BIG arms.