It happens.
When 3.5 came out I was still trying to find a regular game several years after moving from my hometown to the city. In the end I found a group but didn’t click with them, and found I was no longer enjoying the game.
I stopped playing for about a decade from 2004 - 2014.
Instead I focused my energy on my art and having exhibitions. Why spend all that time and energy in entertaining 3 or 4 people when I could entertain 30 - 50 people and sometimes even make money as well?
I didn’t even think about playing during this time. It wasn’t until 5E came out and both the rules and people playing the game were closer to what I’d always wanted, that I started playing again.
Even in the past decade where I played more DnD than any other time in my life, there has been a year here or there where I didn’t play at all. I find it helps to have other hobbies that scratch the creative itch.