A baby who had to be freed from a safe in a Niagara Falls hotel room was accidentally locked inside during a game of hide-and-seek between siblings, Niagara police said Thursday.

Police were called to a Howard Johnson on Victoria Ave. Tuesday after a hotel maintenance worker was called to a room to free a baby locked in a safe. The parents then took the baby, who was alert and crying, and left before police could be notified. Police had asked for help identifying the family so they could check on the welfare of the child.

The family, from New Jersey, later contacted police from Markham, where they were staying with friends, police said in a release Thursday.

“The family was unaware of all the attention they had received and were very co-operative with investigators from the Child Abuse Unit,” the release said.

Police say the family told them that he baby, who is in good health, was apparently accidentally locked in the safe during a hide-and-seek game between siblings. The investigation is now closed.