What's the safest way to do electrical when forced to stand in water?
Turn off the breaker supplying the circuit you're working on. If there are many circuits, turn off the main breaker for the entire house. You may wish to lockout/tagout the breaker (box) for additional safety.