You can cancel the research and restart once you get back.
There can be no ongoing activity like research or construction or troop training during holiday mode.