If you recall your troops before they arrived at the Legion Base, the Energy will be returned to you.