If he wants to quit basketball after the season is over, then fine, but if he committed to play a season I would make him stick to that commitment or repay me for what I spent.
Applying that to piano lessons, I would make him either go or pay me for what I have spent.