Sukarno proclaimed Indonesian independence in 1945, and this was recognised by the Dutch in 1949. During this time frame Tan headed "Sin Min" in Semarang. He also contributed writings to the Jakarta-based "Sedar" and the "Sunday Courier". In 1951 Tan was accused of being a member of "Barisan Tjitaroem", considered a subversive group by the Indonesian government. He was imprisoned and tortured before being released. Tan died not long afterwards, on 12 August 1952.