The pipe can do this several ways.
One way is to "Rotate" on the exhaust manifold If this happend rotate it back you may need to replace the manifold gasket (The one between mainfold and pipe) it is donut shaped gasket.
If the manifold cracked, You need to remove and replace it.
If the pipe bent. Cut generator side of the break and have an exhaust shop make you a new "extension" based on the part you cut off.
While at it have 'em make it a couple inces longerm Swedge the end out and drill a hole for the pin to lock in a Gen-Turi and Add a Gen-turi for when you are using it (You stow the Gen-Turi when driving, only put it out when generating and parked.