When the intended purpose of an agreement or arrangement can no longer be achieved, and in most cases, releases the parties from their obligations.