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

Please make it easy to help you and post the code here following the advice to use code tags in How to get the best out of this forum

All it takes is 2 mouse clicks