He resigned his commission in the U.S. army and fought to defend his home (Virginia) and family from the yankee invaders. To have done otherwise would have been the real treason.
He was a traitor to the United States of America. Are you going to do likewise ?