If you cancel your hotel booking, travel credit will forfeited.
But during COVID-19 time they let you cancel the booking for free even with travel credit, they changed back this policy after Aug 2022 I think. You can see I canceled the hotel booking on Aug 2022, due to COVID-19 they returned...