That linked thread partially explains why I was asking what happens if you change the cutting speed.

It's all to do with how the trajectory (motion) planner calculates movement, and combines that with other non-movement commands.

Trying exact stop mode (not always ideal for plasma cutting, where you really want speed to maintained as much as possible), or a basic G04 pause might be enough to alter exactly where the M5 command actually gets executed.