High-voltage capacitors can slowly regain a charge even after being discharged due to a phenomenon called dielectric absorption. Always keep the high-voltage terminal connected to ground using a shorting strap if you are planning to work on the circuit for an extended period.