Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.
I guess, by 'restart' you mean 'power off and power on'. There will be a reset pin(or master clear on some MCUs) which can be strobed to reset the microcontroller core, program counter, registers & its peripherals. Disconnecting the VCC to restart an MCU is not preferred.