If you have the proper qualifications, you can go to do teaching semicon related courses at ITE/Poly or University.
Alternatively, you can move into R&D which may be a bit related to semiconductor or a total new field using your knowledge of DOE, etc.
I spent a good eight years (process and equipment) in a foundry and a DRAM fab, but move on to do R&D on adhesive materials in a MNC...has been in it for the last 7 years...
I guess it is still your call when considering alternative careers as it impacts your salary, lifestyle, etc
A ex colleague of mine who was retrenched during the first retrenchment of the local foundry ventured into childcare centre and has not looked back to semicon although he spent 12 years of his youth there...
No worry as the ship will steer its course when the time comes...