▁local ▁population ▁and ▁soldiers ▁resulted ▁in ▁the ▁failure ▁of ▁the ▁Portuguese ▁to ▁perman ently ▁occup y ▁the ▁city , ▁and ▁the ▁inhabitants ▁who ▁had ▁fled ▁to ▁the ▁interior ▁would ▁eventually ▁return ▁and ▁re build ▁the ▁city . ▁After ▁Bar awa , ▁Tr ist ão ▁would ▁set ▁sail ▁for ▁M og ad ish u , ▁which ▁was ▁the ▁rich est ▁city ▁on ▁the ▁East ▁African ▁coast . ▁But ▁word ▁had ▁spread ▁of ▁what ▁had ▁happened ▁in ▁Bar awa , ▁and ▁a ▁large ▁tro op ▁mobil ization ▁had ▁taken ▁place . ▁Many ▁hors emen , ▁soldiers ▁and ▁batt les hips ▁in ▁defense ▁positions ▁were ▁now ▁guard ing ▁the ▁city . ▁Nevertheless , ▁Tr ist ão ▁still ▁opt ed ▁to ▁storm ▁and ▁attempt ▁to ▁conquer ▁the ▁city , ▁although ▁every ▁officer ▁and ▁soldier ▁in ▁his ▁army ▁opposed ▁this , ▁fear ing ▁certain ▁defeat ▁if ▁they ▁were ▁to ▁eng age ▁their ▁oppon ents ▁in ▁battle . ▁Tr ist ão ▁he eded ▁their ▁advice ▁and ▁sa iled ▁for ▁Soc ot ra ▁instead . ▁After ▁the ▁battle ▁the ▁city ▁of ▁Bar awa ▁quickly ▁recovered ▁from ▁the ▁attack . ▁ ▁Over ▁the ▁next ▁several ▁dec ades ▁Som ali - Port ug uese ▁t ensions ▁would ▁remain ▁high ▁and ▁the ▁increased ▁contact ▁between ▁Som ali ▁sail ors ▁and ▁Ott oman ▁cors airs ▁wor ried ▁the ▁Portuguese ▁who ▁sent ▁a ▁pun itive ▁expedition ▁against ▁M og ad ish u ▁under ▁João ▁de ▁Sep úl ved a , ▁which ▁was ▁un success ful . ▁Ott oman - S om ali ▁co operation ▁against