When you get a shock, a hormone called adrenaline is released into the body (causing the fightorflight response, where your body is hyped up ready for action)
Hormones control various organs and cells in the body, though they tend to control things that aren't life-threatening so things like sexual development, blood sugar level, water content, etc.