SG-1 was under fire when they dialed the gate to return from P4A-771. The weapons fire directed toward the gate caused a power overload in the stargate, forcing the wormhole to arc to the second gate on Earth, in Antarctica. Attempts to return to the planet drew enemy fire, and the planet has been classified as unfriendly.
Cross Reference: Wormhole Arc
Episode Reference: Solitudes