What is the problem?
M410 does a reset of the printer, in an emergency situation.
Octoprint sees this as a canceled print and It executes the cancel gcode script.
In this cancel gcode script could be all kinds of scary things that you do not want to be executed in a emergency situation.
Please do not think of the M410 as a cancelled print.