hmm that sounds like your only temporarily in Thailand if your needing to go back to USA for money. Maybe head home to get finances aligned then you can always come back and get proper visa then
As far as your deposit it’s probably lost unless you have a landlord that is super understanding and wants to help you. But getting deposits back is a struggle under perfect circumstances
You should think about DTV. You didn’t say how long you overstayed. If not a long period then exit and apply for DTV and re-enter. Keep your apartment. But not sure why you had a long term lease without proper planning. Getting the deposit back under normal terms and finishing the contract is a challenge
What is your goal? To stay in Thailand long term? If yes get DTV if no then forget get the deposit and head back home and take it as a loss
My friend was asked at the airport for information regarding his Muay Thai. This was last month. He is not in this group. It does seem few get asked or random. I would just travel with some documentation just in case.
investing also means money in interesting bearing accounts. I can have access to anything within 2 days. Also my investment account gives me access to cash just might be on margin if I need a large amount within one day