How did you escape your 9 to 5 job?

I guess I’m interested to hear from those who were in the same boat that I am in right now, how did you escape your job? At what point in your career? And what are the risks and obstacles you have faced during your journey?