How much energy depends on the value of the capacitor and the voltage it was charged to. If you get a shock, the amount of current that will flow through your body depends on the voltage you have come in contact with and your body resistance. Your body resistance depends mostly on how you have come in contact with the conductor. Most of your body resistance is skin resistance at the point of contact. Remember, one side of it is connected to ground, so half the connection to you may already exist.
Higher voltages are more likely to kill and also more likely to cause skin burns.
There are non-electrical hazards around electrical and electronic equipment. Storage batteries contain corrosive sulfuric acid in a package which can leak if you drop it. Also, these batteries give off explosive hydrogen gas when charging or discharging. This means that there is a pressure of near 15 pounds per square inch on the glass. There is over two tons of force on the face of a 24-inch television tube.