Cika jumla mai zuwa:
1966 Juyin mulkin Najeriya, Shagari yana cikin jami'an gwamnati wadanda suka mika gwamnati ga jagorancin soja na Manjo Janar Aguiyi Ironsi. Ya koma Sokoto don inganta ilimi. Ya yi aiki a matsayin Babban Sakataren Asusun Ci Gaban Ilimi na Lardin Sokoto a 1967, inda ya gina makarantu da yawa na lardin. Daga baya aka nada shi Kwamishinan Kafa da Horarwa kuma ya kuma yi aiki a takaice a matsayin Kwamishinan Ilimi a cikin jihohin Arewa maso Yamma kafin a gayyace shi ya yi aiki a karkashin Gwamnatin Sojojin Tarayya na Janar Yakubu Gowon.