Some companies have Immigration Services personnel on 24/7 standby for these types of occurrences. Others don't. Just check with your HR regarding this. Exit Permits can be obtained by any authorized personnel in that company electronically through Hukoomi.