If you are looking at an online bypass system, then there are essentially two choices, 1: open transition switching and 2: closed transition switching.
Open transition switching requires the drive to be frequency synchronised to the supply voltage, a contactor then disconnects the motor from the variable frequency drive and a second connects the motor to the supply. There is a short period of time when the motor is disconnected from the supply and during this time, the motor can slow down and will generate voltage due to the slow decay of the rotating rotor field.
When the motor is connected to the supply voltage, there is an inrush current that is dependent on the phase difference between the voltage of the supply and the voltage generated by the spinning motor. There may also be a "start" current to accelerate the motor back to the line speed if it has decellerated during the open transition period.
The switching transient will also result in a torque transient which can be quite damaging. The VFD must be capable of sustaining live disconnect on it's output, or the output must be disabled before the switching occurs.
Closed transition switchings requires that the VFD output is perfectly synchronised in voltage and phase angle to the supply voltage. When synchonisation is perfect, the supply voltage is shunt connected to the motor and then the VFD is disconnected from the motor. An element of current limiting either in the output of the
variable frequency drive, or the supply voltage will allow more tolerance in the synchronisation. One solution is to use a three phase reactor in series with the supply that can be bridged once the VFD is disconnected. - essentially like a primary reactance starter.
If the impedances of the VFD output voltage and the supply voltage are both very low while they are shunt connected, severe damage can result to the variable frequency drive.
Current source inverters lend themselves better to shunt switching than voltage source inverters.