How long is "a while"? I've had only one prolonged period of not writing. I was in a coma, came out of it, but recuperation time was several months. I'm always fidgety when I can't work, and writing is my work. For the first three months or so, I didn't really miss writing, anymore than I missed all the other things I couldn't do, but it was good to get back to being productive again. .
Other than this, however, the only time I've been away from writing for the last thirty-two years is when we go on a planned vacation, and that week before Christmas, up the Jan. 1. I never write during that ten day period.
But I have a tough boss, and he doesn't allow me to miss work without very good reason. I just can't find a good reason to be away from writing more than I would be away from any other job.