Toss and turn / ˈtɔs ən ˈtɚn/ idiom
to move about and turn over in bed because you are unable to sleep