See as you said above the management wants him to go back to his country..by doing that the management will give him final exit with cancelled visa ofcourse.
I have a friend with the same case, but the company help him to get out of the country with exit permit and return ticket with valid visa, so he managed to go home. After three months my friend got a job in UAE and he contacted the bank here in qatar and paid all his debt in two years. Would you believe....he is again working here in qatar! That is what i mean SN..but your friend case is complicated because seems like his current company not willing to help him.