Will the birth mother be prosecuted if her identity is known?

Placing a baby in the hatch is not a crime and no one would be prosecuted.