The energy regenerated from the motor is stored in the filter capacitor of the inverter, due to the relationship between the capacity of the capacitor and the withstand voltage.
previous item: Please explain the protection function of the inverter?
next item: What is regenerative braking?