Service members typically cannot obtain standalone declaratory relief for Article 13 violations but must raise illegal pretrial punishment claims through military justice channels. Remedies for illegal pretrial punishment come through motions for appropriate relief during court-martial, administrative credit against sentences, or post-trial appeals. Federal courts generally abstain from intervening in ongoing military justice proceedings, requiring exhaustion of military remedies before considering habeas relief.
During court-martial, accused persons file motions documenting illegal pretrial punishment conditions and requesting dismissal or confinement credit. Military judges may order evidentiary hearings examining confinement conditions, command actions, and whether restrictions exceeded legitimate pretrial restraint needs. Administrative credit typically provides day-for-day or greater credit for illegal conditions. Egregious violations might warrant dismissal, though courts rarely grant this extraordinary remedy.
Alternative relief includes immediate correction of ongoing violations through defense counsel requests to commanders or military magistrates. Inspector general complaints may prompt command action. Congressional inquiries sometimes expedite relief for severe conditions. The focus remains on obtaining practical relief rather than declaratory judgments. Military appellate courts review Article 13 violations de novo, providing robust post-trial remedies. The system emphasizes correcting violations and compensating affected service members rather than issuing prospective declaratory relief.