Automatic expiration is automatically generated by the system. You can't apply for an extension of the exam, you can only re-register and start from the theoretical exam again.
If it is overdue, the driving school will not refund the fee to you, because the driving school has no responsibility, and it is your personal reason not to take the exam.
If you don't learn to drive, you can negotiate with the driving school. You can write an application to the vehicle management office and get the driving school to stamp it, saying that you can't attend the training when you work in a foreign country and you need to cancel your application information. If you don't take the exam, if you don't make an appointment for the exam, the vehicle management office will refund your exam fee, and the driving school will refund your training fee as appropriate.
If you haven't studied driving or taken an exam, and the driving school refuses to refund your money, you can complain to the local transportation management department, whose qualification is recognized.
How much you can refund depends on your actual situation. I don't know, and I can't give a detailed answer.