@Jay *****
you most likely weren't on ANY Non-ED visa and instead you were on an 'extension of stay' for education. <-that has to be cancelled before you leave
BUT
seeing as you're on the initial 90 days of the Non-O visa you got, you're able to stay until that time runs out, then leaving with cancel the stamp without any need to go to the immigration office for anything