When we apply the brake to the motor, the motor acts as a generator and supplies power to the source this is called regenerative breaking.
Regenerative braking systems (RBSs) are a type of kinetic energy recovery system that transfers the kinetic energy of an object in motion into potential or stored energy to slow the vehicle down,These systems are also called kinetic energy recovery systems. There are multiple methods of energy conversion in RBSs including spring, flywheel, electromagnetic and hydraulic. More recently, an electromagnetic-flywheel hybrid RBS has emerged as well. Each type of RBS utilizes a different energy conversion or storage method, giving varying efficiency and applications for each type.
Read More : Dynamic Breaking in DC drive