He was held in Bukit Duri, then Serang, and then Cimahi, before ultimately being released in 1945 after the Japanese surrender and Indonesian proclamation of independence.
Ia ditahan di Bukit Duri, kemudian Serang, lalu Cimahi, sebelum akhirnya dibebaskan tahun 1945 setelah penyerahan diri Jepang dan proklamasi kemerdekaan Indonesia.