You can't retract flags.
A moderator will see it and likely disagree with it. Assuming that happens that will count against your helpful flag totals but that's rather the point: don't flag things willy-nilly.
I should point out that having declined flags is not the end of the world. Everybody who gets involved in flagging has a few so don't take it as a slap in the face. Just learn from the situation.