To be precise, the remaining segments of the ticket will be cancelled. The ticket will retain whatever value, if any, the fare conditions provide and you may then purchase a new ticket less any penalties. The cost could be anywhere from 0 to a new ticket at walk-up prices.