Retirement tax questions

I was terminated from my job because I fell very ill. I could not have rollover my 401k until I felt good enough to do it. Is there an exemption?