collision is making its own vector

I’m trying to make a tank game. And my first problem is, that when the collidebox of the tank “touches” the collide box of the object on map. The vector is being changed in spite of not using the move keys (wasd). How to cancel that vector made of collision ?
Thanks for answers

Also when i use the shell, the hit makes the new vector what never stops.