A contract may be extinguished in like manner with any other obligation, and also in the manner prescribed by this article.
R.L.1910, § 982.