The energy was nulled. Both by the AM fields for any possible magic, as well as any real anti-energy shields.
Not only that but all the planetary defense ships came closer to the portal and projected a large AM field around themselves, strong enough to protect half the system. They also had AE fields.