If you ask for permission to leave town and that request is DENIED, and you then go anyway, you would be subject to a finding of direct contempt of court. Most states limit punishment for such an offense to 60 days of actual jail, but that's still a long jail sentence for something that is supposed to be a civic responsibility. I am not concluding that the Judge would automatically impose such a punishment, but it certainly is a possibility.
Best of luck!
__________________
Attorneys are limited to offering specific legal advice in states where they are licensed. Online responses offered here are ADVISORY OPINIONS only and should NOT be considered specific legal advice! Consult a local attorney for specific advice.

