Hitting someone with a stick could prevent them from being electrocuted. Because getting shocked causes your muscles to tense up, it can prevent a person holding a live wire from being able to let go. If you can’t turn off the source of electricity, you can help them by finding a long, hard object, like a stick, and whacking them with it to break the circuit. Source