During World War II, the islands were practically under Japanese control, only nominally under the authority of the ArziHukumate Azad Hind of Netaji Subhas Chandra Bose. Bose visited the islands during the war, and renamed them as "Shaheed-dweep" (Martyr Island) and "Swaraj-dweep" (Self-rule Island).
General Loganathan, of the Indian National Army was made the Governor of the Andaman and Nicobar Islands. On 22 February1944 he along with four INA officers — Major Mansoor Ali Alvi, Sub. Lt. Md. Iqbal, Lt. Suba Singh and stenographer Srinivasan—arrived at Lambaline Airport in Port Blair. On 21 March 1944 the Headquarters of the Civil Administration was established near the Gurudwara at Aberdeen Bazaar. On 2 October 1944, Col. Loganathan handed over the charge to Maj. Alvi and left Port Blair, never to return. The islands were reoccupied by British and Indian troops of the 116th Indian Infantry Brigade on 7 October 1945, to whom the remaining Japanese garrison surrendered.