This situation happened to me recently, but while we were playing we let it go as the card stated.
Octillery's Suction Cups state: As long as Octillery is you active pokemon, whenever the defending pokemon retreats,discard all energy cards attached to the defending pokemon when it goes to the...