I don't think she ever said it explicitly, but it's something that I kind of inferred based on her actions, training, and what happened after they left the temple. And since Carter is a military officer, I do assume that she'll be concerned with being covert on a stealth mission even if she never says it; same with O'Neill, it's part of their training.
Carter and Daniel were suppose to guard the gate and wait for O'Neill, but then they saw the procession to the temple and she decided to follow it out of curiosity, essentially not following Jack's orders. For Sam, I saw the scientist overriding the soldier at that point.
After they got what they came for at the temple, Carter starts to immediately leave, while Daniel is still fixated by the larva, to me thinking about Sha're and Skarra. For Sam, she's completed a bonus mission objective, but knows she'd better get back to the gate or she won't be able to support Jack and Teal'c, her primary objective. I saw the soldier start to reassert itself over the scientist at that point.
They leave the temple and are soon attacked by a Jaffa patrol, that Sam is able to temporarily fend off, but now they're really high-tailing back to the Gate. This also rushes the events with Teal'c, Bra'tac, and Ry'ac, and could have easily led to their capture had more Jaffa been guarding the gate.