I am sorry to hear. I broke my left foot few months ago and I had to stay home for about 7 weeks. I was working on a journal article and then I have started to write thesis. Can you spend few hours a day to write thesis, even though you are away from school?
Do not give up. Sometimes hardships can make you stronger.
I have never imagined, how I would manage being alone with a broken foot. But at last, it made me stronger!
Make sure that your immediate supervisor and big professor are okay with your progress. In my case, my immediate supervisor stood up for me and has been supporting me.
I wish you a speedy recovery.