Discharging a capacitor without a resistor
It's potentially unsafe. the high discharge current could damage the switch or even the capacitor.

1000uF charged to 12V is enough to make sparks and to weld fine wires.