I have come accross this problem before.
The solution that I have used up to now (which was copied from someone else) was to use an isolator with an early break auxillary feeding back to the VFD.
When you turn off the switch, the auxillary breaks first, causing the VFD to lose power. Normally by the time the main contacts break, any danger to the isolator or VFD is eliminated.
I have also found by experience that for some VFDs this won't work.
Example, Movidyne VFDs from SEW driving servo drives.
With these ones, we had to run the cable feeding the VFD out to the field, through the isolator, then back to the VFD, then back to the motor.
Depending on what type of VFD you have depends on the solution you use.
The solution that I have used up to now (which was copied from someone else) was to use an isolator with an early break auxillary feeding back to the VFD.
When you turn off the switch, the auxillary breaks first, causing the VFD to lose power. Normally by the time the main contacts break, any danger to the isolator or VFD is eliminated.
I have also found by experience that for some VFDs this won't work.
Example, Movidyne VFDs from SEW driving servo drives.
With these ones, we had to run the cable feeding the VFD out to the field, through the isolator, then back to the VFD, then back to the motor.
Depending on what type of VFD you have depends on the solution you use.