A drive torque modulation is generated in response to an unintentional lane departure or traffic/obstacle intervention in an electric vehicle or a hybrid-electric vehicle (HEV). At least one of propulsion and braking of the vehicle is controlled via a motor of the vehicle in accordance with the torque modulation. Vehicle oscillation is generated through the torque modulation to let the driver be aware of the impending dangerous driving situation.