Big difference between a limit and a home switch. If you use limits for the home switch then the difference is smaller however hitting the switch whilst NOT homing means the axis has travelled too far and is seen, as far as Mach is concerned, as a reason to do an E-Stop.
The easy way to solve that issue is to set up your soft limits and in that way only if something seriously goes wrong will you ever hit your Limit switches, problem solved for you
Hood