I’ve only skim read through this thread, but you said that you’ve been there 17 years so you must have enjoyed it once, have you been promoted into a role you no longer like, could you ask to go back to a role you did like and which didn’t have all the stress attached?
I did this a few years ago and it was great, I had a stress free job for a couple of months while I looked for a new job!