Which cannot be suspended by the executive branch when there is a functioning court system - which there was.
In retrospect. That question was not definitively ruled on until Ex Parte Milligan in 1866.