I don’t think you should have a problem coming in and out of Thailand on a visa exempt stamp that you get at the airport (just like, I assume, you did coming to Bangkok 9 days ago). As long as they see you’re not abusing the system you should be fine. But if getting a visa is not a problem to you, get it. It’ll take off any stress related to going through immigration.