My take on this is junior high is the worse. My son had major anxiety problems in 6th & 7th grade that have gotten a lot better. After school would be over with the day he would really need a lot of quiet down time to cope with the stress of being around others others all day.

Honestly you can't drag him to school. And if it's making him miserable it's not helpful. I'd see if homeschooling will work for now for the rest of this year. With the idea of starting at the H.S. next year.

Good Luck.