You can cancel your waiting-list or RAC Tatkal ticket for a refund at any time up to 30 minutes before your scheduled departure. If wait listed Tatkal tickets do not get confirmed or RAC, they automatically get cancelled and the passenger gets refund.