During the Vietnam War, Loomis was assigned to the aircraft carrier Ticonderoga in the Gulf of Tonkin. He spent a year navigating the ship and then rose to executive officer. On his second deployment Loomis was named captain of the ship, and he served in that role for about two months.