OnAbandon function

Learn technical details about the OnAbandon function.