A lady walked her dog to the top of the beach, slipped it's lead and commanded the dog to stay. The dog stayed until she called it from the edge of the sea. When we had a dog the command stay (or indeed any other command) at the top of the beach meant head for the water as soon as possible.