I am so sorry you had such an uncomfortable day in class today. I hope I am not presuming too much here, but was your trouble understanding the teacher's question related to the metaphor he used? I know some Aspies have trouble with figurative language, and that question would have made no sense in a literal interpretation.
If that guess is correct, your teacher is in the wrong, probably due to a lack of training on some of the common traits of Asperger's. He may not have meant to argue, but he probably did not understand that the wording of the question was a problem.
Before my son was diagnosed, I recall trying to explain to him that his father was the decision maker in the house. I used the term "king of the castle." Trey was SO MAD at me because we do not live in a castle, we have no moat, his father does not have a throne, and we live in a republic, not a monarchy. All I could think was "REALLY? Are you messing with me, kid?"
Of course, I know better now.
Sometimes it takes us NTs a bit to catch on. Educate your teacher, or have a counselor or parent do it.
_________________
"One lab accident away from being a super villain." Leonard describing Sheldon in The Big Bang Theory.