If the snake crashes into a wall or its own body, the game ends. You'll need to start a new game and try to beat your previous high score.