The Israelites would not leave Egypt until they had the bones of Joseph, and the Pharaoh endured all of the plagues except the last one until he released them.
Not unusual to ‘transport’ dead bodies for burial in their homeland for obvious reasons....fact remains they buried the body.