So this question recently came up at league, and I had to do some testing afterwards on the online game to see what happened.
I was able to move it to a Pokemon with Safeguard, but since Y Cyclone is an attack of Yveltal EX, the energy card was discarded.
Is this how the ruling should be, or...