In Hedges v Obama [1], the trial court blocked the government's power to indefinitely detain. The ruling was immediately appealed and the trial court's decision was stayed. I take it from the government's rush to appeal that there are people are being detained right now that would have had to be released had the ban been upheld.
[1] https://en.wikipedia.org/wiki/Hedges_v._Obama