you are not a tourist it seems, so get the correct visa that applies to you, if you try to enter Thailand again, you maybe refused for a 30 day Visa exempt entry, depending on where you attempt to enter, and the IO at point of entry, better advice available on "Thai Visa Advice" face book page