The encode process will start up again, don't worry. This has happened to me before when I forgot to set the computer to never go to sleep. I'd wake up the next morning and see that my Mac had gone to sleep and Handbrake was still muxing (for some reason, the computer wouldn't register as being used when muxing). It would finish and the file would play fine.