Leary was promoted to the temporary rank of vice admiral on February 27, 1942 and assumed duty as Commander, ANZAC Command, which was established for defense of the northeast approaches to Australia including the Fiji Islands, New Hebrides, and New Caledonia on the request of the Australian government following the fall of Singapore and Rabaul.