Vent until you finally feel a little silly and can maybe laugh. Think about how you got the job in the first place. Go over it and see how it outweighs what you've just been through. Write them out, tack them to a bulletin board. Stick them to your bathroom mirror.
Nothing jazzes a person more than having a plan.
It's like a travel itinerary. Each step to your final destination can be as exciting as you want it. Tell people you're back after a brief hiatus and ready to work. If you think you want to try freelancing, you're reading the right website. Now look for more sites to add to your resources.