There are Naval regulations that specify certain security checks that a crew of a warship must maintain under any heightened security stance. In the report issued by the Navy, several of these regs were not being utilized at the time of the attack. I cannot remember them all, but i know that there was no officer on deck, which is against regs. Also, a crew at port, under threat, is required to have a audio message, in the host country's language, to warn inbound boats to stay away. Those were just two of several. I'm sure the actual report, listing all the infractions could be found on the net somewhere. Would any of those steps stopped the attack, who knows. One thing is for sure, the Ship and her crew are the sole responsibilty of the captain. And any misfortune that occurs, falls squarely on the shoulders of her captain. It has always been that way, and it always will.