Being hugged like this definitely won't let you calm down enough to study, but persevering to stay in this position because you don't want the other person to let go.