The family had been trapped on an ice floe for over 24 hours with no way out.