If the U.S. military had taken your view of how to end the civil war then it would have ended in a very bloody guerrilla war. There was no reason to hang honorable men like Robert E. Lee.
There is no honor in treason.