Accidentally dropped 8 courses

So I had a really hard time mental health wise in my early 20s but was determined to college classes. In this time I ended up dropping 8 classes. Now I'm one semester away from graduating and found out about a 6 drop rule? Can I graduate or was this a big waste of time? I was also planning on getting an undergrad eventually but it looks like that's completely out of the cards.