How to stop the player's movement immediately?

Your looking for set all physics linear velocity and set all physics angular momentum(can’t remember exact name of nodes) . Then set(they default 0any way) all values to 0.
Gl