I can testify to this, actually. I had gotten burned out after years of hard grind, and left to go work on a ranch in central California.
It only took a few months being away before I couldn't contain it anymore, and would catch myself building solutions for things in my head, excited to get back to my apartment and code it all out.
It's not always practical, but a break from it all can be really healthy.
If you loved it once, it will come back to you.