Late withdrawal from all the courses after the census date as I had an accident and will be undergoing surgery
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.