Gayler commanded the aircraft carrier  from May 1959 to June 1960, and then served as the U.S. Naval Attache in London, England, from August 1960 to August 1962.
During his tenure, Gayler commanded the aircraft carrier from May 1959 to June 1960, before transitioning to a position as the U.S. Naval representative in London, England, from August 1960 to August 1962.