No damage at all from coasting down a hill. Both hub motors and mid-drives freewheel when going down hill with the power off. Most e-bikes shut the motor off above a certain speed (usually 20 or 28mph) so there wouldn't really be a point in turning off the electric assist when descending.