Sorry mate, I just saw this.. don't come here much anymore. The Fusion post has changed a bit now, but just put this in your Section End function.
function onSectionEnd() {
if (currentSection.isMultiAxis()) {
writeBlock(gMotionModal.format(49));
/*Reset A axis to stop unwind */
writeBlock("G10 L20 P#5220 A[#5423 MOD 360]");
}
Cheers