@Bobby ********
Then just to give you fair warning, you have almost 100% chance of getting pulled out of line when you return and questioned by immigration about what you are doing, why you left Thailand, etc. As I said, to immigration you said you NEEDED to to study in Thailand so you NEEDED a visa to do so. Now you are leaving Thailand, so it appears you didn't need to be in Thailand so bad actually.
You should get a letter from your school that states that it is okay for you to leave, for exactly how long you will be gone, and when you will return, and that everything is approved by the school. This letter should also have the direct contact information for the school administrator.
There was a recent story of someone who had all of this, and the immigration officers even called and spoke to the administrator, and they were still denied entry to Thailand for leaving while on an education visa.