This would wake up the computer and would let you continue with whatever you were doing before it went to sleep. All you need to do is to press any key on your keyboard or move your mouse. When you need to use the computer again, you no longer have to boot it. You will be the one to set the time for it to sleep.
When you set your computer to sleep mode, it would stop its functions on its own, after a certain time that it does not have any activity. What you need to do When Windows 10 Won't Wake Up From Sleep.