If you want to propagate the changes you made you can do a Check in which will automatically remove the check out.
If you do not want to Propagate the changes you made, but you want to cancel the Check out option you can use the Undo Check out option.
Best Regards,
Rajesh Balasundaram