Set the return URL for a Cancel

Please can xomeone point me at the doco on how to set the return URI for a Cancel.
Thx