Accidentally restarting your laptop won’t cause any damage by itself. But, Windows will close all running programs and processes as soon as you hit restart. This means any projects you’re working on will be lost unless you saved them earlier. Additionally, rebooting your PC while copying or moving files will corrupt them.