Baby started rolling onto belly

Hannah

My 5 month old has been rolling from her belly to her back for a few months now but seems to have forgotten how to do it after she's rolled onto her stomach from her back. Everytime she tries to get back onto her back she keeps herself upright. She woke up a few times in the night, rolled onto her stomach and cried because she got stuck. Will age remember how to roll back the other way soon?