Capacitor retaining ring