slightly less than two months before todays approaching battle stonewall was shot and wounded , albeit a mistake , by his own men at the battle of chancellorsville ; however , he died a couple of days later .