I will be undergoing surgery due to an accident that happened to me 2 months before the start of the term and I have been. The term has nearly ended and I wont be able to sit for final exams as I will be undergoing surgery based on doctors advice.On top of that this injury has been affecting my studies to a great extent.But if I withdraw from courses right now, I will be excluded from the university.I need help regarding this.
You have to see the people at the university - we cannot give you a definitive answer as regulations etc vary by location etc
There are most likely student advisors or equivalent, admissions dept, your course head, even the department dean who can all be contacted about your situation.
Make sure you have documentary evidence so they have something to work with - doctor’s letters etc
Best of luck.