@Chanthy *********
then just leave, and either get a tourist visa from a thai consulate in the country you're going to or come back in to the country on a 30 day visa exempt entry.
If you don't cancel the extension like you're supposed to, you shouldn't have any problems getting a tourist visa from a thai consulate in another country or getting back into the country.