Electricity is the flow of energy along a wire or through a conductor. If the energy can't flow, because there is no where for it to flow to, then there won't be any electricity.
Pretend electricity is like water in a pipe.
If you block the end of the pipe off with your finger, the water won't flow. But take your finger away and the water flows again, getting you wet. This is a stand-alone question which will eventually become integrated into the linked database.