Totally embarrassed myself, now he's avoiding me - guys, what would you think if you were him?

This guy liked me and used to flirt with me, but he thought I wasn't interested so he gave up and doesn't talk to me anymore. Now we both completely ignore each other and act like strangers. I did and do like him, I just got nervous and clammed up. Anyway a few days ago at school it was just him... Show More

(Keep in mind that he gave up on me because he thought I wasn't interested, and until this incident we both acted like we didn't know each other)