Are they unable to get out because there is a physical barrier? or because they can't get up onto the ice? or some other reason? is there a gap that they could get through if they wanted to?
If there is a gap they could get through to get out then luring with treats or else scaring them out...