There was an old Wonder Woman comic book in which the army captures her, probably because she went rogue or out of control.
Which comic is this ?
From the description on Wikipedia:
After leaving the DC Universe during the events of Infinite Crisis, the Amazons return to attack Washington, D.C. in retaliation for the American government's illegal detention of Wonder Woman.
The Amazons teleport to Washington, D.C., where Diana is being held captive and tortured by the Department of Metahuman Affairs.