This video is painful to watch, but shows what can go wrong in a hurry when trying to teach someone to operate a motorcycle for the first time -
https://www.visordown.com/motorcycle...horribly-wrong
This is why I always suggest a small dirt bike as the best way to learn to operate a cycle. Even a R3 can take off very quickly (heard the tire squeal when she revved and dropped the clutch) and get away from a new rider super easily.
You would also want a
completely empty parking lot.
There are plenty of other things you would want them to know before turning them loose (like practicing how to pull in the clutch and apply the brake), but having plenty of open space might have helped.
Hopefully she was OK.