Enjoy the rest of your postdoc. Do what you need to do without stressing too much. Also look at the other things in it that you may like: perhaps working with students, perhaps writing an open source software, perhaps volunteering for some extra teaching duty if you hate research, etc. A postdoc can be many things. This is what I'm doing now.
And if you can't wait, start looking for jobs and then quit. Looking for jobs can in itself be uplifting.
Sorry for the preachy tone -- I don't know your situation and I'm more telling you about mine. In the end that's how I managed and it went ok.
All the engineers working on AdTech and surveillance capitalism solving real problems with billion dollar budgets
All the PhDs researching new physics and fighting for scraps of funding be losers /s
But if you make a newfangled device thanks to that new physics law you can put a nice patent on it and earn millions