Family rescued after being cut off by tide