Norfolk Naval Shipyard
Mayo was commandant of the Norfolk Naval Shipyard from 1882 to 1885. He was promoted to the rank of commodore on July 2, 1882.