What does a hug where you rock back and forth mean?

well me and this guy I like hug and then he would start rocking back and forth and I'm always wondering what does that mean?

like once he said I gotta go now and I said I don't want to let go and he said me neither but my parents are getting irritated.
What does a hug where you rock back and forth mean?
Post Opinion