In your latest drawing I would not connect the mains supply of the VFD to the estop relay. It is better to have the estop connect to the run/stop lines of one of the VFD logic inputs so it is still powered when the spindle spools down. If you want you can add a delay timer which switches the mains supply to the VFD off after a few seconds (Jazz does this) but most people don't and it works fine.