Capacitor charging: voltage increasing (in opposite polarity); inductor discharging: current decreasing.

capacitor charging