Dunno, I can't speak with certainty that I wouldn't stay and leave, as everything depends on the situation, but switching to a less demanding job and lower pay seems as something that would benefit me in the long run. My mental health and family are worth any price difference, that is, they can't pay me that much to stay in a shitty situation.
And unless you live somewhere where new jobs are available that match your skills and current pay that can be enough.