No he did not. He resigned his commission, which effectively revokes his oath. He decided to remain faithful to Virginia, which is the essence of States rights.
Didn’t Lee urge Davis to end slavery to get that monkey off the Confederacy’s back? I may be wrong about this but that’s what I thought.
David Brooks dislikes Lee but still loves the crease in the pants.
This whole thing is about manipulating grief over a horrific tragedy to assault states’ rights. The goal is to erase historical and cultural memory of the complex nature and traditions of the United States.
I don't know how things were then, but today "The oath is for an indeterminate period; no duration is specifically defined" [Wikipedia].
The bigger question is, when your name has become synonymous with personal honor, as Lee's was, whether your word should be as subject to changing circumstances as Lee's apparently was.
If Lee and other officers had made it clear that they weren't going to change their loyalties, perhaps war could have been avoided.