TEMPORARY work permit. They/she knew it had an end date. Crocodile tears.
As they say in the biz....nothing so Permanent as a Temporary Worker.
They aren’t being deported, merely going home when the job is over.
If she wants to come back there’s no reason she can’t apply now.