Q:

What would happen according to Greek mythology, to an unburied body

Answer

Those whose bodies were left unburied, had to wander the shores for one hundred years before crossing to the world of the dead.