Don’t stress over this! It is early in high school and a college course. Were you registered with the Office of Disabilities? You should have received accommodations if so. Perhaps you can get a retroactive withdrawal -? Talk to an advisor at the college or high school.
But I would not worry at all.
Please be aware that there are countless colleges where you can thrive. By all means apply to MIT and Cornell but these are high reaches for everyone. You do not want to spend high school years stressing over your chances at these schools. Don’t spend your high school life trying to fit a school: instead find schools that fit you!
State universities are an option. I also like the Colleges that Change Lives schools: Colleges That Change Lives – Changing Lives. One Student At A Time. (ctcl.org)
I think the key to your stress is 1) not worrying about college yet (!) and 2) if you do worry about college, broaden your choices and learn about all different schools, not just the prestigious ones that are well-known