A contract will not be discharged through performance if one or both parties do not fully fulfill their obligations as specified in the agreement. In this case, the contract may still be considered valid and enforceable, and the non-performing party may be held liable for damages or breach of contract. However, if both parties agree to modify the terms of the contract or to release each other from their obligations, the contract may be discharged through agreement. Additionally, a contract may be discharged through acceptance, which occurs when both parties agree to terminate the contract by mutual consent. Finally, a contract may be discharged through breach if one party fails to fulfill their obligations and the other party chooses to terminate the contract as a result.