Leaves may only be canceled if they are of a future date (i.e. later than today).
To cancel a leave...
Open the Leaves > My Leaves on your account
Select cancel on the respective leave:
Open the Leaves page on your account
Click on the leave you wish to cancel
Select cancel on the leave request: