The guide here covers power loss and planned power-down: https://duet3d.dozuki.com/Wiki/Setting_up_to_resume_a_print_after_a_power_failure
It shouldn't be a problem using 12V power for planned power-downs; you're effectively just pausing the print. As it says in the guide:
Any time you pause a print from SD card, the state of the print is saved to a special file on the SD card, sys/resurrect.g
So you could set up a macro that pauses the print (and so saves resurrect.g), then parks X and Y, and allows hot end and bed to cool (if you want to turn the bed off; may detach print). Then manually turn off power (assuming your Z axis doesn't drop). Then:
After the power is restored, you can use command M916 to resume the print from where it stopped. This command runs file sys/resurrect.g which calls sys/resurrect-prologue.g at an appropriate point to home the printer
You'll need to set up the resurrect-prologue.g file, which should wait for all temperatures to come up then home X and Y, and Z if it homes at max or if you're running a delta printer, as explained in: https://duet3d.dozuki.com/Wiki/Setting_up_to_resume_a_print_after_a_power_failure#Section_Setting_up_the_sys_resurrect_prologue_g_file
Ian