Children of the Gods (1) - S1-E1
Corrected entry: When Apophis first enters SGC at the beginning, the worm hole shuts down. Then the fight between the SGC personnel and the Jaffa takes place. The scene then switches to some other part of the complex and back again. Suddenly there is an outgoing wormhole established. It is made clear throughout the show, that only very few aliens like the Asgard or The Nox can just establish a wormhole by waving the hand. Earth neither has a DHD (which is known to Apophis) nor does Apophis have access to the gate controls or was there enough time for the Jaffa to dial the gate by hand. Even assuming the scene switches giving enough time to enter the control room, the Jaffa can not be familiar with earth technology as to know how to initiate a dialing sequence on the computer.
Correction: It is later shown that a Goa'uld ribbon device can be used to power/dial a stargate, and in the movie continuum there is a device that can itself dial a stargate, in either case it would be possible.