It should just fade away over a short period of time. I had some image burn-in on my ACD today and after a few minutes it had gone.
I believe a way to speed up the fade-out process is to switch off the display. You could sleep the iMac for a bit and hopefully the burn-in will be gone when you wake it up.