William Toti managed to do it, going from commanding officer of a U.S. Navy nuclear attack submarine to eventually become chief executive officer of a maritime defense contractor.