How to fix this player movement problem?

Hi, I’m making a type of tanks game, I control de player rotation with my mouse position and control de movement with the keyboard, I note that if a move my player towards a wall it bounces because of the colliders and when a released the keys the player acts like the wall pushes him, I cannot cancel the move with the keyboard, any ideas?

Edit: I found that increasing the angular drag by a lot helps to reduce the problem, but I’m wonder if there exist a better method