Spindle won't stop

I am an absolute beginner to CNC. I have a Sainsmart 3018 Prover with a an offline controller (don’t have a computer hooked up to CNC). I have started by using the free Easel program to design my first job and generate the Gcode to run through the offline controller.

My issue is that the spindle doesn’t stop when the job is complete. It returns to the saved XYZ location, but the spindle keeps running. I looked at the code and it has the M05 code as the last line.

Anybody have a fix?