After Indonesia's independence on 17 August 1945, Rijadi led Indonesian forces in the Surakarta area during the revolution against the returning Dutch. Starting with a guerrilla campaign, by 1947, when he fought against Dutch offensives in Ambarawa and Semarang, he was in charge of the 26th Regiment. During a second Dutch offensive, Rijadi lost control of the city but soon retook it, later leading counter-offensives in West Java. In 1950, after the end of the revolution, Rijadi was sent to the Moluccas to put down a rebellion. After several months of planning and a month crossing Ambon Island, Rijadi was killed near the end of the operation by a rebounding bullet.