He was prepared to try and blow it up because he romanticized war and had a perception of nobility in it. He believed in confederate ideals and was prepared to sacrifice himself for them, and it's no wonder that his luck turned on him because war is not a pretty thing and he got tricked by the enemy.