In 1941, he was allowed to stop teaching due to his health problems. He was temporarily assigned to the Bogor Zoology Museum with the mission to classify the members of family
Muridae, rodents that were implicated in agricultural damage and the propagation of
leptospirosis in Indonesia. Due to the
Japanese occupation of Java in 1942, Sody was interred in a camp in Bogor alongside his family, though he was allowed to continue his work. Following the 1945 surrender of Japan, he renewed his contract with the museum at the request of Baas Becking, director of the museum's botanical garden. He returned to Amsterdam in 1947, where he was determined permanently unfit for work in the tropics. He died there on 16 January 1959. == Work ==