Perhaps Abuela believes that Mirabel's presence without a gift is somehow jinxing the family's magic. In the fanfiction, she might think that by imprisoning Mirabel, she can stop the negative effects she thinks Mirabel is causing. This could be related to some superstitious beliefs within the Encanto about the balance of magic and the role of each family member.
One possible theme is the power of individual perception. In the story, 'Abuela Invents the Zero' might show how the abuela's unique view of the world, as represented by inventing the zero, challenges the existing norms and beliefs of those around her. It could be about how one person's different way of thinking can have an impact on others.
Well, the abuela is obviously one of the main characters. She is the one who invents the zero, so she's at the center of the story's action. There might also be other family members or people in her community who interact with her and are affected by her idea of the zero, but without more details about the story, it's hard to say exactly who else is a main character.
Perhaps she tries to understand Abuela's perspective. Mirabel is a kind - hearted girl, and she may think that there is a reason behind Abuela's actions. So she might try to see things from Abuela's point of view while still feeling the pain of the punishment.
At first, Mirabel might be shocked and confused. She would probably wonder why Abuela would do such a thing to her. She could spend her initial time in prison trying to figure out what she did wrong or if there was some mistake.
One possible reason could be a misunderstanding. Maybe Abuela saw Mirabel doing something that she misinterpreted as a threat to the family or the magic. For example, if Mirabel was exploring a forbidden area in the house where the magic was acting strangely, Abuela might have thought she was endangering the family's future and thus imprisoned her out of fear.
In the fanfiction, Abuela may be under a lot of pressure to keep the family's magic and reputation intact. When something goes wrong that she blames on Mirabel, she kicks her out. Mirabel then has to face the outside world alone. She could encounter various challenges and adventures, which in turn make her grow. Eventually, she might find a way to reconcile with her family and even help save the family's magic in a new way.
Mirabel might be initially shocked and heartbroken. She loves her family and the village, so being banished would be a huge blow. She could cry and try to plead with Abuela to change her mind.
It could also be a misunderstanding. Maybe a magical accident occurs and Abuela wrongly blames Mirabel for it. Since the family's magic is so important to Abuela and the community, she might overreact and banish Mirabel without fully understanding what really happened.
She might be heartbroken at first. After all, being kicked out by her own abuela is a big blow. But then she could become determined to prove herself. So she might set out to find a way to show that she is an important part of the family even without a magical gift.