Ibn Battuta is assaulted because he is the only one who knows where the supplies are and the others are getting restless and losing their patience.
Ibn Battuta continues to negotiate with the Sultan, declaring peace amongst both factions.
The Sultan sends Ibn Battuta on his next task. He needs to broker the deal of exchanging lands in Granada.
Ibn Battuta is berated and thrown out of Granada when he was trying to peddle grapes, The Sultan was not very helpful in finding Ibn Battuta a place to stay.