Hey,
I have never heard of being able to retrain a fish. Once they figure out it tastes good, that's it. Even if you keep it well fed on other stuff it will still graze. If you really want to keep the fish maybe you can try moving the coral? Just an idea as I have no practicle experience to share...
Dan'l