((((Patagonia))))))
I am so sorry to hear about the loss of this position! It is really hard and is far from easy as if your feet have been pulled out from you. However, this is not your fault and in no way makes you a failure. You have been able teach despite and with MI for some time, which is commendable. There is nothing that will prevent you from either finding another teaching position or something else that you find of interest unless you let it prevent you from moving forward.
If you no longer want to teach, consider what else you want to do; if it turns out to be teaching, so be it. It is one of the most admirable professions. Take some time to regroup and figure out new options and meanwhile do what you need to take care of you. Hang in there and know something will be out there if that is what you want!