Text this: Energy balance in a Z pinch with suppressed Rayleigh–Taylor instability