Hi Lorraine,
If your daughter were to get better, such that she no longer qualified for ESA, before assessment then all she would have to do is cancel the claim. There would be no question of having to pa back anything.
If she were to improve after being awarded main phase ESA she would be obliged to contact DWP and tell them.
Nothing on this board constitutes legal advice - always consult a professional about specific problems