M84 Motors Off on a Wanhao i3

I rebuilt my Octoprint Pi recently and realised the Motors Off button no longer worked, so went looking for the M84 Motors Off PlugIn. Its gone.

Anyone know how to change the M18 to M84?