Dear Tracey,
Interesting experience, indeed! My first intuition says that your teacher felt the energy you were sending and, consciously or unconsciously, began taking it. I think the reason for this occurence lies in her intent, not in yours.
If you are surrounded by all these people in an energy-flowing environment mindfulness will be of supreme importance. It is very likely that personal energy is being exchanged/drawn.
All blessings,
Lesley