I must have installed the 30a/60a generator transfer switch about a dozen times. Today I was thinking when utility power is restored before you turn off your generator you have two sources of power with all the neutrals connected. How in the world does the neutral current know to go back to the transformer or the generator?