What are the mistakes in the code of the movement of the box

When I move a box it doesn’t stop for some reason
This is the code I wrote in godot 4
Code box (
extends CharacterBody2D

func _physics_process(_delta):
move_and_slide()

)
Video of the movement of a box

And I also want his movement to be 16 pixels
And that’s why I need to know what to adjust in a box and a player.
Code player (
extends CharacterBody2D

@export var speed: int = 75

func handleInput():
var moveDirection = Input.get_vector(‘ui_left’,‘ui_right’,‘ui_up’,‘ui_down’)
velocity = moveDirection*speed

func _physics_process(_delta):
handleInput()
move_and_slide()

)