In 1987 Somalia's dictator, feeling the heat from SNM forces, went to Djibouti and met with Mingistu Haile Mariam, the dictator who ruled Addis Abeba. Mingistu himself was feeling the heat from the combined TPLF/EPLF forces in Eritrea/Tigray regions.
The two embattled dictators were forced to negotiate a peace agreement. It included among other things 1. To stop all hostilities between the two sides. 2. Somalia to recognise Somali Region of Ethiopia as part and parcel of Ethiopia. 3. Somalia and Ethiopia to stop supporting each other's opposition armed forces.
This agreement was why Ina Cumar Jees ran to the SNM in 1988 and became an opposition to Siyad Barre's regime.
Within 3 years, the two dictators were both forced out of power and went to into exile. The agreement reached between the two if anything was their Death Certificate.