It has been known to happen that leaves have had to be cancelled at short notice for "operational reasons" and after the exit permit was issued.
I remember at least two being "pulled" at the airport for refusing to change their leave dates and ignoring the request to stay in Qatar.