I have a program than runs for about 18 hours but I need to do some things in Windows. I was wondering if there was a way to pause the script, reboot into Windows, and then reboot into Linux again and continue where I paused.
61 Answer
Not with Ctrl+Z, no. That simply pauses execution but that can't survive rebooting. When you reboot, everything is shut down, including paused processes.
What might be possible is to hibernate instead of shutting down, then boot into Windows and, when finished, resume the hibernated Ubuntu. However, I have not tried this and don't know if it would work. If you have hibernation set up, try it and see.
3