A dog that was feared dead after it was swept away in a weekend avalanche that killed its owner showed up four days later at the Montana motel where its owners had stayed the night before the avalanche struck.

Search-and-rescue team member Bill Whittle said he was "positive" that the Welsh corgi named Ole had been buried in Saturday's avalanche.

"The avalanche guys were up there on Monday investigating and they were looking for the dog, too, and never saw any signs," he said.

But on Wednesday, Ole showed up exhausted and hungry back at the motel, four miles from where the slide occurred, the Billings Gazette reported.

"When I first saw the dog, it was sitting in front of their room staring at the door," Cooke City Alpine Motel owner Robert Weinstein told the Associated Press.

Dave Gaillard of Bozeman, Montana, was skiing with his wife when the avalanche struck near Cooke City, an old mining town just outside Yellowstone National Park.

"His last words to me were: 'Retreat to the trees.' I think he saw what was coming from above that I did not see," Kerry Corcoran Gaillard told the Bozeman Daily Chronicle.

"She found out when she was halfway done with that that Ole was still alive," said Gaillard's stepdaughter, Silver Brelsford.

Whittle drove the dog back to the family in Bozeman.

"He was tired," Brelsford told the AP. "He's doing really well now."

Sidney resident Jody Ray Verhasselt, 46, also died Saturday in another avalanche while snowmobiling north of Cooke City. The two New Year's Eve avalanche deaths have taken a toll on the small mountain community.