Baby wakes up - do you put them back to sleep?

My question is for day naps. My daughter 5 5 months) is having short day naps recently, max they will last for is an hour. When she wakes up, she can’t put herself back to sleep so I have to come and rock her back to sleep. I’m wondering if any other mothers put their baby back to sleep if it’s less than an hour? Or do you call it a day and take them out of their crib to play?