FWiW modern ECT is much much milder than 1960s light dimming electroshock treatments.
https://www.healthdirect.gov.au/electroconvulsive-therapy-ec...
https://www.healthdirect.gov.au/electroconvulsive-therapy-ec...
Effects don't last that long (long enough though to get someone out of debilitating depression or mania and time for proper treatment) and need repeated courses to sustain.
There are still issues with memory, where one looses maybe a few days, but also could loose years.