This happens and had happened with my kid as well, there could be some change in routine so just have your kid go through the training steps again.
This article explains 3steps to train your kid, it helped me
https://sg.theasianparent.com/3-days-potty-training
Read more