Electrical switching in the liquid state