Cancel Contract action is done on contracts for making it to Inactive state and there by cancelling the contract.
After clicking on Cancel Contract the Particular contract will get cancelled or goes to Inactive state and "Success Message" will be displayed on Manage Contract page.
User can see the Cancellation scenario in the Contract as Stage and Status changed to Closed/Discontinued and Inactive/On Hold respectively..