He was captured almost immediately, and remained technically a prisoner of war until the Japanese surrender in September 1945, though he in fact made contact with Free Thai members of the Thai police and was able to work with them from his jail cell.