Lee was covered under his parole agreement, and thus should, and could not have been tried. It was considered, and Grant quashed it, absent evidence that Lee had violated his parole.
Davis was pretty discredited at the end of the war, and wrote his works of fiction to rehabilitate himself. As you know, the legality of secession as pretended in 1861 was treated by Texas v. White.