HELP!

Je
My 6 month old finally learned to flip from back to belly (yay!) but now he keeps turning in his sleep, gets stuck and cries... ALL night. He did this 5 times last night; he didn't wake up this much as a newborn! We're both exhausted; is there anything I can do? His dad thinks I'm undoing the sleep training by going to him at night. He's crying because he's stuck; it would be be mean to leave him like that, right?