Jesselton was razed by the retreating British early in World War II to prevent it from falling into the hands of the Japanese. After the Japanese takeover of Borneo, it was again renamed Api. Rebellions against the Japanese military administration have taken place in Api. One major rebellion occurred in 1943 by the group called Kinabalu Guerrillas, consisting of local inhabitants. The rebellion was however quelled by the Japanese forces, after their leader, Albert Kwok, was arrested and executed in 1944. At the later stages of the war, what remained of the town was destroyed again by Allied bombings as part of the Borneo Campaign in 1945, leaving only three buildings standing. The war in North Borneo ended with the official surrender of the Japanese 37th Army by Lieutenant General Baba Masao in Labuan on September 10, 1945.