In August 1961, Brazilian President Janio Quadros send Vice President Joao Goulart to China, resigning the presidency on August 25th, with Goulart in China, expecting Congress to deny his resignation so he could come back stronger (didn't happen).
But what if Goulart's plane to China malfunctioned and crashed, killing Goulart before Janio's resignation. Would he still resign? If not, would the coup be avoided? (At least until the next election?)