If you've been through ups and downs in career, this is not a big deal. Just learn a lesson and move on. Forget about this short period of work in resume. I've found in recent years as economy has gone down, work place bullying and crap is just overwhelming. Be ready to make more job hops.
Are you open to both perm and contract? try a W2 gig can help you build confidence, skill and fill your moneytary shortcoming. If you feel you're in debt to your boss as you seemed to let him down, then find another previous coleague for reference.
Just remember this is life and it's not gonna change. So you'll have to make a change. Many people including me have gone through many worse situations than this, so keep your chin up. Good luck with job search.