If you had made a reservation and missed the train, even then your ticket does not become useless. In such a case, you can file TDR i.e. Ticket Deposit Receipt. By filing TDR, you can ask for a refund ...
Most people in the country first book train tickets for travel and then consider other options only when needed. But ...