I scanned posts in this thread and noticed that after numerous "solutions" ..... there is no solution.😁
Looking at the video clip, I can see that C axis is engaged and zero referenced, my guess without being familiar with your machine is that G18 is hanging the process.
Since you programmed tool paths that drive tool all around part you cannot use XCZ mode because Y axis is most likely out of range, considering diagonal measurement from one corner of rectangle to the other and tool diameter with lead in and out,........ polar mode is a must unless you split surfaces in segments and program each segment without crossing X0.
Polar mode is only possible in G17 plane, change G18 in your code to G17, polar mode will then convert all Y moves in G17 plane to angular moves of C axis and rotate C axis to convert all negative X values into positive values so that tool always works on positive side of X axis.
If after changing G18 to G17 you still have an issue, potential cause can be G12.1 / G13.1, if so change them to G112 / G113, which is the equivalent but it depends on which format your control is set up to recognize.
At the end of milling operation there should also be M code to deactivate C axis.
If M94 is activating C axis as shown in list of PDF file you uploaded and your G-code, then M93 or M95 is likely to be the deactivating M code but I am just guessing here, you need to look at operation manual that comes with machine, in there you can find list of M codes that machine tool manufactures assigned to varies functions including managing C axis.