If he just shed that is probably your answer. Did he eat the shed? Mine usually don't eat right before a shed and don't eat right after either.
Give it a day or so, I'm sure he'll be fine.
What is his set up though? Temps and substrate, hides etc. You probably posted it somewhere...