We can cancel the Workflow instance by using the Convert button present in the state of a workflow.
When we select the instance and click on the convert button the Instance is moved to inactive state and is not visible, thereby it gets cancelled.We can again bring back (Instance) to Active state by selecting that instance and clicking on the Convert button.