If you decide that you checked out a file in error, or you do not want to keep the changes you made to a file, you can cancel the checkout instead of checking in the file. In this topic, you will return the notes.txt file to a read-only state by canceling the checkout.
To cancel a checkout: