It depends on where you live. Certain jurisdictions within the United States and Canada require that cash refunds are available once a gift card has a specified amount (or less) remaining on the gift card.
If applicable in your jurisdiction, you can visit a participating Tim Hortons restaurant to complete the cash-out process for a Tims Gift Card.