During the following three years Sudirman saw negotiations with the returning Dutch colonial forces fail, first after the Linggadjati Agreement – which Sudirman participated in drafting – and then the Renville Agreement; he was also faced with internal dissent, including a 1948 "coup d'état" attempt. He later blamed these issues for his tuberculosis, which led to his right lung being collapsed in November 1948. On 19 December 1948, several days after Sudirman's release from the hospital, the Dutch launched an assault on the capital. Sudirman and a small contingent escaped Dutch forces and left the city, making their headquarters at Sobo, near Mount Lawu. There Sudirman commanded military activities throughout Java, including a show of force in Yogyakarta on 1 March 1949. When the Dutch began withdrawing, in July 1949 Sudirman was recalled to Yogyakarta and forbidden to fight further. In late 1949 Sudirman's tuberculosis relapsed, and he retired to Magelang, where he died slightly more than a month after the Dutch recognised Indonesia's independence. He is buried at Semaki Heroes' Cemetery in Yogyakarta.