Negotiate with the gym to cancel the contract and see how much the liquidated damages stipulated in the contract are. If it is too high, you can ask for a proper reduction.
law of contract
Article 32 A contract is concluded by the parties in the form of a contract, and it is established when both parties sign or seal it.
Article 114 The parties may agree that one party shall pay a certain amount of liquidated damages to the other party for breach of contract, or may agree on the calculation method of the amount of compensation for losses caused by breach of contract. If the agreed liquidated damages are lower than the losses caused, the parties may request the people's court or arbitration institution to increase them; If the agreed liquidated damages are excessively higher than the losses caused, the parties may request the people's court or arbitration institution to reduce them appropriately. If the parties concerned pay liquidated damages for delayed performance, the breaching party shall also perform the debt after paying the liquidated damages.