Newly born baby not leaving mother while she's breast feeding. URGENT HELP

Stu!

My kid dosent leave her mothers breast while shes being breast feeded.

And when she leaves the nipple, cries very much.

What can be an alternative so that she sleeps and let her mom sleep as mom is recovering from a c-section.

Note- baby girl is just 2 days old.

Urgent help needed