by default things will decelerate instead of sunddenly break, if you’re using character moviment componnent try to change this value:
if you read the description you will see that it basically defines how fast the character is going to stop after ceasing moviment input.