Just buy a ticket and go home. Try entering Thailand again next time.
Although there are rules on how many border run or entry by air, I believe there is also a clause stating "It is at the discretion of immigration officer to approve or deny entry to the particular applicant if he or she believes ..... ".