Default [Q] Flashing Stock and Restoring Kernel

Sorry I'm a noob but I would like to know if I flashed my Nexus 7 back to stock would it restore the original kernel or do I have to back that up?
Thanks