He resigned from the US army 2 days before he was offered command of the Union army (also three days after his native state, Virginia, seceded from the Union.) He opposed secession, but he was a loyal son of Virginia.
I hope this answers your question