Oops. I believe you are joking Wild!!

3 months grace time for residence visa expiry to renew or cancel and no fine during this period and if not action during grace time the fine will start from the date of expiry and it is only QR 10 fine / per day.

Also Adrian, since you are not sure about the time you will actually resign please ask your company to proceed with one year renewal and they can cancel 5-7 days before your repatriation flight.