By February 1946, when Dutch troops had already returned to Java, he went to Yogyakarta to work as a military educator, teaching for a time at the military academy there.
Pada Februari 1946, ketika tentara Belanda telah kembali ke Jawa, ia pergi ke Yogyakarta untuk bekerja sebagai pendidik militer, ia mengajar beberapa saat di akademi militer di sana.