Sorry to hear you are in this situation, I went through something similar in undergrad and it is difficult and stressful.
I would encourage you to wait to decide anything until step is over and you have a few weeks to return to normal. I would also think about talking to a few trusted faculty members about what they think you should do, and if they are aware of any resources that might be able to help.
Keep in mind that some jobs are possible during your PhD, you just have to be very careful. A good number of students I know work evenings or weekends in their school library as needed, which pays well and allows you to study or write for the majority of the shift.
Hang in there, do your best on step, and let us know if we can help.