Close…
Or:
Both are basically a switch, so you could wire that back to the vfd as a stop signal on an input.