Resetting your iPod classic (as in restoring it to factory settings) will delete everything. If you are just rebooting your device, your data will be fine.