The raid was a delayed response to the Alexandrian Crusade of October 1365, which had been spearheaded by King Peter I of Cyprus.
Ibn Qāḍī Shuhba dates this to November–December 1365, but al-Maqrizi, who is probably more reliable, places it in January–February 1366, at the same time as a fleet was ordered in Beirut.
[1] In May 1366, the Ottomans offered to send 100 ships in a joint attack on Cyprus, but the Mamluks could not commit, since their fleet was still under construction.
[1] In March 1368, the privateer brothers Peter and John Grimante, sailing from Famagusta raided Alexandria and Damietta, seizing several ships.
[1] Sultan al-Ashraf Sha'ban immediately summoned al-Tazi to Cairo and offered him command of the fleet, moored at Boulaq, for a raid against Cyprus.