Read the VFD manual, and just use a single contact of a relay to select forward.
Depending on the make, you may be able to control without a relay.
What breakout board do you use?
What make VFD is it? There are as may different ways to do it as there are brands.
You will need to change at least one VFD setting to remotely operate it. Not difficult, though.
Super X3. 3600rpm. Sheridan 6"x24" Lathe + more. Three ways to fix things: The right way, the other way, and maybe your way, which is possibly a faster wrong way.