This is called a fault. But the metal case is connected ... the equipment grounding conductors are connected to the neutral wire. In this case that box is the main breaker panel.