There's no video of Masha twisting anything at the YEC. She quit after fully playing and losing two matches. She ran away cuz she basically wanted to avoid an inevitable humiliation by Azarenka.
However having said that, I do not fully equate that quitting with today's quitting (because one is pre-match the other mid-match).
but you do know that she had to rehabilitate her ankle for months after the injury right? which meant she wasn't properly or intensely training into the high level she should be at in the YEC, just saying,
I don't agree her being there in the first place, she didn't seem fully ready and evidently sucked badly in the end. But it's YEC, the opportunity to be there means a lot itself, if I were injured, HELL, I would go because it was a kind of celebration for a player to know they have done great this season, to be the top 8 players in the world, after many disappointing seasons? it would be crazy not to at least join, Errani would agree with this statement.
Just to be fair, if you are to criticize Maria for not being able to fully commit to matches at YEC, you might as well criticize Azarenka for tanking her match against Bartoli in the last tie where she gave no shit at all during the last set.