It depends on your specific controller, but usually you have to engage brake cutouts for regenerative braking to occur. If you have a controller from Grin, Sabvoton, Adapto, Sevcon or Kelly, or have a Cycle Analyst, it would be possible to engage regen automatically on a 'throttle-off' event...