Once he was informed of the coup, Obote immediately flew to
Nairobi to rally loyalist army elements in Uganda to oppose Amin's takeover. However, Kenyan authorities blocked his attempts to contact his followers, and the remaining pro-Obote soldiers failed to organize a counteroffensive. The pro-Amin forces were consequently able to swiftly eliminate them in a series of purges. Still, Obote refused to give up, and moved to Tanzania where he received much more support. Tanzanian President
Julius Nyerere had close ties with Obote and had supported his socialist orientation. The Tanzanian and Somali governments initially planned to help Obote regain power by invading Uganda through the
Kagera Salient. This project was never implemented, as
Chinese Premier Zhou Enlai informed the involved parties that he opposed a military intervention, while the Tanzanians feared that Western powers might intervene on Amin's side. At this point, Obote's loyalists in the Uganda Army had been crushed, and Nyerere offered Obote training camps in Tanzania to organize a guerrilla army in exile. Meanwhile, thousands of Obote supporters (including many soldiers) escaped to Sudan whose government also offered them sanctuary and training camps. From late March 1971, Obote built up a rebel army, and moved to Sudan. However, Obote's exile efforts were hampered by his lack of support among Ugandans, as many other opposition groups—both leftists and conservatives—were more willing to support Amin than offer him any aid. Even part of the UPC had decided to split from him. There were also considerable ethnic tensions as well as personal rivalries in Obote's camps, undermining the military training. In addition, the Sudanese government signed a treaty with Amin in early 1972, expelling Obote and his followers, greatly weakening them. Overall, Obote was unable to mobilize more than about 1,000 insurgents, many of whom lacked proper training. As tensions mounted between Tanzania and Uganda, even escalating in occasional border clashes, Nyerere finally greenlit the planned invasion. Even some exiles critical of Obote, such as
Yoweri Museveni's group, joined the operation. The
1972 invasion of Uganda by Obote's rebel alliance was a military disaster, with much of the insurgent force destroyed. This failure contributed to the existing tensions among the anti-Amin forces. On his part, Obote would accuse Museveni of having lied about controlling an underground network in southern Uganda. This alleged network was supposed to cause a popular uprising, but the latter did not materialize, thereby contributing to the invasion's defeat. Obote never forgave Museveni for this, creating a lasting rift. The attempted invasion was also met with international condemnation, forcing the Tanzanian government to officially close the insurgent camps and pledge to stop supporting anti-Amin rebels. Obote and members of his inner circle consequently relocated to
Dar es Salaam where many began to work as teachers, lawyers, doctors, etc., while his common fighters were moved to
Tabora to become coffee farmers. The Tanzanian government informed Obote that it would continue tolerating anti-Amin insurgent activities as long as they remained clandestine, despite the international agreement signed after the failed invasion. As a result, Obote kept a low-profile in the next years, as he continued his efforts to regain power. As he had not siphoned off money to overseas banks during his first presidency, Obote mostly lived off a Tanzanian pension. He gave no more interviews, and rarely ventured abroad to meet other opposition figures. Most of the time, he stayed at a comfortable beach house close to Nyerere's private residence; Tanzanian officials initially continued to call him "President", and later "
Mzee". Despite his rare public appearances and public restraint, Obote vigorously plotted to overthrow Amin: He set up a small rebel force of 100 guerrillas which occasionally launched raids from Kenya into Uganda, and created his own "navy" of six boats which smuggled coffee on
Lake Victoria to finance political and militant activities. The navy also built up an underground network in Uganda. These operations were entrusted to some of his most trusted followers such as
David Oyite-Ojok. Obote hoped to gradually undermine Amin's regime until being able to launch a general uprising with support by the exiles in Tanzania. However, the efforts of his rebel network produced few tangible results, as his movement was unable to assassinate important followers of Amin and lacked support among most Ugandans. In fact, Obote remained deeply unpopular in much of Uganda, and even those opposed to Amin did not want to see him return to power. == Second presidency ==