Passengers on a world cruise were told only essential lighting would be used and to keep their curtains drawn while passing through an area known for piracy.