How to restart a kernel? To restart kernel and run all the code again we can click on restart and run all from kernel icon