Really hoping your DD comes home with a smile on her face after a successful sleepover, as I’m sure that will go a long way to bolstering her confidence, and likely make her less apprehensive in the future which may in itself make an accident less likely, as I do think sometimes it’s the stress of worrying about an accident which then leads to one…a self fulfilling prophecy!
Bit of a different situation, however my young niece stayed with for a week a little while back whilst DSIS was away with work. Totally unexpectedly and for the first time in years she had an accident at school, we never got to the bottom of what had caused it - maybe a bit of an infection or she was just feeling under the weather, perhaps just an accident as she misjudged things. Unfortunately it really shook her confidence and led to a period where she was incredibly anxious about using the toilet, panicking if she was ever not able to get to one immediately such as on a car trip or in a school assembly even though she didn’t actually really need to go. As is often the case, this worry then did lead her to needing to use the toilet which compounded her fears, and ultimately did lead to her having another couple of accidents despite having never had a problem for probably 5+ years of her life. She was devastated, and this fed into the circle of worry and stress, as it was difficult to reassure her that she was fine and wouldn’t have an accident, when in fact it had happened and caused her a lot of embarrassment. 😢
It was a vicious circle which was really hard to break, in the end her Mum worked with her to create safe environments where she could prove to herself that she didn’t need the toilet, and that even if they’d got it wrong and she really did then an accident wouldn’t matter, nobody would know and there’d be no embarrassment or shame to worry about. It worked, without the stress building up to panic she regained her confidence and belief in herself, and has never panicked like that again even when in a situation where she may have had to wait, and consequently has never had another accident since.
As I said it’s a different situation, but I wonder whether the stress of worrying about having an accident when sleeping away or having a sleepover, and the potential embarrassment it could cause, is what’s leading to your DD having the occasional accident in the first place with if seeming to always be around those times.
Sending hugs to you both, and hoping for a positive outcome. 😊