I once took 3 years off to play an MMO game (not joking). After that had to restart from the bottom of the salary ladder, but climbed back pretty quickly. This is a universal secret weapon - drop your salary requirements, like, a lot, to get hired. You can usually climb back.