The Arduino does not execute commands when I unplug the Arduino.. It only executes commands when I press the restart button

Now I did another experiment. I've taken the Arduino off the board and tried it off the board. The operation worked correctly, but when I put it on the board, it doesn't work it asked me to restart