If your visa has been revoked you can appeal this revocation to the Immigration Commission. Its a standard application form where you will need to attach the reason why you think that the revoking of your visa was incorrect. Most probably better to have an immigration lawyer in Thailand manage this for you. Download