If a Contract status is In Progress or Expired, you cannot cancel the contract.
If the Cancel menu option is disabled, you may not have sufficient access rights to cancel a contract.