Shift to B only if the speed is below 45 MPH
to prevent driveline shock.
The sensation is like shifting to lower gear. However, the effect is maximizing battery charge. If the battery is full, it will continue to slow down by engine braking.
When you are fully stopped, the engine may continue to run. I usually shift it back to drive before I am fully stopped to turn off the engine.