Retyping the essay from the chatgpt while actively rewording the occassional sentence seems like it would do it.
You could program a robot to re-type the ChatGPT output into a different word processor and feed it parameters to make the duration between keystrokes and backspaces fluctuate over time. You could even have it stop, come back later, copy and paste sections and re-organize as it moves through and end up with the final essay from ChatGPT.
In the same vein that letting students write calculator programs to do the quadratic formula for them during a test is actually a pretty good way to get them to learn the quadratic formula.
It's not an exact equivalent to the intent of an essay today - from an education perspective - but it's not a complete miss either.