what use is it to have your passport when the company is not willing to give you an exit permit?
By rule they are not supposed to keep your passport.
Whatever happens unless they give you an exit permit you cant leave.