Even with the most exciting lessons, most children will at some point resist having school. Some children will resist frequently. Forcing compliance through punishment will not get the child's willing cooperation, but there are other ways to approach the problem.
Talk to her about what the purpose of school is (preparing your mind and body for adult life and the work God has planned for you to do) and how each thing you do in school works toward that purpose. (Make sure everything DOES in fact work toward that purpose! No busywork.) After that, wait for a day when she is especially uncooperative. Calmly close up your book, put away the supplies, and get out the cleaning supplies. Explain that today is going to be a day for a different type of preparation for adulthood--housework. Adults have to know how to do that too, and since the schoolwork isn't going well you're both going to work on housework instead during the time that is always set aside for preparation for adulthood.
Years ago, one of the Ambleside Advisory members (I think) said that she began each school year by sitting in a chair with a cookie recipe in hand, orally directing each of her children through the cookie-making process. If they listened and followed instructions, they ended up with cookies to eat. The idea was to emphasize the importance of following her instructions as she guided them through school.
Another Advisory member mentioned a book she used (I cannot remember the name right off and don't remember where my notes are) that discusses the godly purpose behind each school subject. She would use tidbits from that at the beginning of each school year, if I remember rightly.
Some children more than others need to know the *why* of what they are doing--they want to do something meaningful. We can show them the why of it. But then we must insist on the work as well, even when they don't feel like it. That too is part of preparation for adulthood.