You can cancel your eTickect before charting under rules given bellow but if charting Done than filing TDR is only option with similar refund rules:
UNUSED TICKETS ON WHICH RESERVATION HAS BEEN MADE :
( 1) Subject to the provision of these rules, if a ticket on which reservation of a seat or berth has been made, is presented for cancellation, refund of fare shall be made after deducting cancellation charge from the fare as follows :-
If...
more... a ticket is presented for cancellation more than one day in advance of the scheduled departure of the train (excluding the day of journey) cancellation charge shall be deducted at the flat rate of Rs. 70/- for A.C First Class/Executive Class, Rs. 60/- for A.C. 2 Tier sleeper class/ A.C. 3 Tier sleeper class/ First class/A.C Chair Car, Rs. 40/- for Sleeper class and Rs. 20/- for Second class.
If the ticket is presented for cancellation within one day in advance (excluding the day of journey) and up to four hours before the scheduled departure of the train, cancellation charges shall be 25% of the fare subject to the min. flat rate mentioned in clause (a).
If the ticket is presented for cancellation within four hours before the scheduled departure of the train and up to -
(i) Three hours, when the ticket is for a destination station up to 200 KM.
(ii) Six hours, when the ticket is for a destination station of more than 200 KM but up to 500 KM., and
(iii) Twelve hours , when the ticket is for a destination station of more than 500 KM.,