WASHINGTON — Chelsea Manning, the former Army intelligence analyst who sent archives of secret military and diplomatic documents to WikiLeaks in 2010, said on Thursday that she had refused to answer questions about her interactions with the antisecrecy organization before a grand jury — and might be sent to jail as soon as Friday.

Ms. Manning had been imprisoned for about seven years before President Barack Obama commuted most of the remainder of her 35-year sentence in 2017, and she was released from a military prison in May of that year. Her defiance of the subpoena means she may be imprisoned again after a judge holds a closed hearing about her legal arguments and whether to hold her in contempt of court.

“The court may find me in contempt and order me to jail,” she said in a statement, adding: “In solidarity with many activists facing the odds, I will stand by my principles. I will exhaust every legal remedy available. My legal team continues to challenge the secrecy of these proceedings, and I am prepared to face the consequences of my refusal.”

Ms. Manning also confirmed that — as widely suspected — prosecutors wanted to ask her about WikiLeaks. Prosecutors in the Eastern District of Virginia have been investigating the organization for years, and inadvertently revealed last year that they had charged its leader, Julian Assange, under seal.