charles , meanwhile , was arrested for insubordination following the incident during which he swore at washington , then brought before a court-martial and finally relieved of duty , and he sought refuge at fort george , where he has remained ever since .