If a war continues if there is no peace treaty, the US Civil War hasn't ended, since the Union and the Confederacy never signed a peace treaty.
“If a war continues if there is no peace treaty, the US Civil War hasn’t ended, since the Union and the Confederacy never signed a peace treaty.”
The US never recognized the Confederacy as a legitimate government. Therefore no peace treaty was needed.