Thai coup general quits position