sorry to hear about your situation,, it sucks
I know this story from a colleague of mine who met this filipino girl. She took a loan with a bank (not sure which one), for a small amount (around 30K aed) and then left the country. She went back to the Philipines, and she wasn't prosecuted there. Couple of years later she found a job in Italy, but in a case of extremely bad luck, the plane where she was flying had problems and had to do an emergency landing in Dubai. She refused to leave the plane, as she knew she was going to be in major trouble, but to no avail, and airport security had to force her out. The police were waiting for her at the gate and she was arrested right there. She is now serving jail time however I don't know for how long she will stay there.
This is a case of extremely bad luck but the point is that it can happen so is better that people are aware of the consequences of leaving the UAE with unpaid debts