When the Japanese invaded Java in 1942, they apprehended Kan along with other leaders of the colonial government due to their anti-Japanese activities. Kan was imprisoned in Tjimahi until the Japanese capitulated in 1945.