Charles - This was not an oath of loyalty, but a parole. He basically swore not to bear arms against the US until regularly exchanged as a prisoner of war.