Say I get my passport back or maybe a emergency replacment from the embassy, and the company still will not give me an exit permit what are my options??

Is the exit permit a visual stamp in the passport or is it electronically lodged with imagration???