Muhammad VI ruled tyrannically and persecuted those whom he suspected of sympathising with Muhammad V, which, combined with his poor manners, caused many at court to flee Granada to Morocco or to the Christian Crown of Castile. He made a deal with the Marinid Sultan of Morocco, Abu Salim Ibrahim, in which Abu Salim was to keep the dethroned Muhammad V from returning to the Iberian Peninsula, while Muhammad VI arrested rebellious Moroccan princes who took asylum in Granada. Muhammad VI abandoned his predecessors' policy of alliance with Castile; instead he stopped the customary tribute to Castile and on 9 October 1360 concluded an alliance with its enemy in the War of the Two Peters, the Christian Crown of Aragon. The six-year treaty was ratified in 16 February 1361 and included terms providing the freedom of emigrations for Aragon's Muslim subjects (), similar to those secured by Ismail I in 1321, but soon this provision was rendered ineffective due to various unofficial obstacles implemented by Peter IV. The friendly correspondence between Muhammad VI and Peter IV of Aragon are conserved today as part of the Aragonese archives.