Hello,
Leaving or running away from the situation is never a solution. Better will be to discuss what lead to such a thought and seek help. He might be suffering from occupational burnout. Do not take any decision impulsively for which you have to regret later.
Next Steps
Contact nearby Psychiatric clinic or You can contact me for further help.
Health Tips
Make sure you are not alone try to be with someone close to you, share your thoughts, sleep for adequate time, have healthy meals on time, involve in activities you used to enjoy earlier.