Where did the wires go?

How about a generator transfer sw.

This would be permitted by 230.90(B) for the installation shown but as Jeffery has stated there are other problems with the neutral not being bonded to the enclosure or the equipment grounding bus.