I am currently doing a postdoc in mathematics in Europe (staying vague for anonymity...). For various reasons I am seriously considering leaving academia at the end of my current postdoc, which ends in a few months. I have some teaching/supervision left to do, but very little. My postdoc is a more research-focused postdoc, but not within any specific project, I am free to work on whatever projects interest me.
For the last few months I have been feeling extremely unmotivated to do anything related to my research. No one seems to care whether I'm doing something or not and it will most likely not have any impact whatsoever on my future career outside of academia anyway. The coronavirus situation with the requirements to work from home obviously didn't improve the situation, as I lost the peer pressure of having office mates so I don't even feel the need to pretend that I'm working anymore. Yet I am of course still being paid, but it makes me feel quite bad to be paid for doing essentially nothing.
I guess I am looking for advice for how to feel better, either by regaining some motivation, or simply by hearing that it is ok to not do research (or any other kind of related work) if I don't feel like it. I'm not sure if it's a form of the impostor syndrome, but I definitely feel like a fraud for not working and still getting a salary...