Propose to HR that you'll work as an unpaid intern once your work permit expires. And after it gets renewed you'd like to go back to being a paid employee at your old pay scale. I only recommend this as a way to save face and not have to get fired and be embarrassed. I'll be doing this myself, if God forbids, mine expires before the renewal gets approved. Best of luck!