When a student cancels a piano lesson, that lesson becomes available spontaneously. Since it’s a slot during my regular teaching time, it can be filled by another student.
When this occurs I usually contact a student who has recently missed a piano lesson and offer it to them.
If they cannot take the lesson at such short notice, I just ask the next one on my student list etc. Sometimes with a bit of luck one gets to have a makeup lesson after all.