Sukarni managed to escape from Yogyakarta down the Code River after the second military aggression was started. Sukarni and the other traveled to Imogiri then Gunungkidul escaping from Dutch army. Outside Yogyakarta, Sukarni helped Lieutenant Colonel Suharto carrying out guerrilla attacks. During these time, Sukarni strangely disguised under the name Suharto.