When Virginia seceded from the Union, Smith declined to accept a commission as a brigadier general because he rightly admitted he was "wholly ignorant of drill and tactics".
By the time of the Gettysburg Campaign, Smith's superiors were leery of his performance, but had to maintain some degree of support, since he was the former governor and at the time the governor-elect of Virginia.