When my son was severely struggling in his senior year I made the school aware of what was going on and they gave us amazing flexibility in that sometimes he was only able to attend 1 day a week and not even a full day. They gave him his work to take home and we just limped through that final year. We were very fortunate that the were supportive. I think they also just wanted us out. But another option that was also on the table was online schooling through his school. Could that be something that would work for your daughter?