I have been teacher of a few students with severe social anxiety. I understand where you are comIng from, but perhaps it would be a good idea to go on anxiety meds for a while so that you can manage classes and not lose your place at uni. Also, perhaps you could speak to a counselor about your issues. I don't know your specific situation, but I think most lecturers would have an understanding if they knew what was going on.
Just don't withdraw from the world. Life has more to offer than social isolation. Take care. See if there's a group at your uni who face the same challenge as you.