When a dog dies, their body may still show signs of what can look like life, such as the following: Twitching, as a result of natural nerve spasms after death. The release of air from the mouth when moved. The release of bodily fluids and gas.
Why do dogs walk away when they die?
Dogs listen to their bodies which is one reason he hides when he is dying. He knows he is weakened and unable to protect himself, which makes him incredibly vulnerable to predators. By hiding, he is doing the only thing he can to stay safe and protect himself.
Do dogs know when they are about to die?
Since dogs who are approaching death are often aware and ready, they may begin to act differently in their last moments. Before you read too much into these signs, though, know that many of them can appear due to other, much more minor causes.
What happens to dogs after they die?
If your veterinary practice is arranging cremation for you then they will keep - or bring your pet's body back to, in the case of a home euthanasia, or a natural death at home - then at the veterinary practice. Your pet's body is usually picked up by the crematorium and brought to the facility in their own transport.

Below are two helpful articles on a similar topic 👇
What happens to dogs after they pass?Why do dogs take themselves away to die?