Thank you for playing!! :)
The restart instead of removing pegs was a conscious game design choice, as I wanted to encourage the player to try a different approach to reaching the exit, if their path failed. But I will look into it :)
My issue with it is I wanted to retry my previous solution after misplacing a peg and it felt very punishing to have to try to remember and slightly adjust when I had it perfect. Pretty frustrating when the game is already difficult. Always good to keep in mind that what seems difficult for a dev is likely nigh impossible for a first time player, I would recommend some rounds of playtesting :)