masturbation ninja

Kayla
So my friend stayed the night in a hotel with her close male friend. While she was asleep she woke up to him masturbating next to her. She wiggled her body and he stopped but a few minutes later continued at it again. We are wondering anyone's opinions on how consent works in this situation. She ain't mad about it we're just curious