Capacitor power-off sequence