Are you months away from being full retirement age or months away from the earliest start age for Social Security? Do you have to work the remaining months to get pension, stock vesting, or other benefits?
If you are trying to make it to full retirement age, it might be just as well to retire and start SS early, you'd maybe get $22 dollars less per month, but you could spend the next 8 months working at any easy low pay job and make enough to compensate for that for the rest of your life.
I retired several months early and I don't regret it at all.
I'm sorry your job has turned bad, but the silver lining is that you won't regret retiring.
Sometimes watching Veronica is a good humor release: