The last time I cancelled with LH (but it was about 4 years ago) the taxes were refunded to me automatically. It did take a week or two though, if I remember correctly that is. More recently I had to cancel a Eurowings flight. In this instance my taxes were reimbursed only after I e-mailed them.