The women came to the Tomb with the ointments but the tomb was empty
There would have been no way to keep the ointment on the body of Jesus with just a shroud...The ointment would have fallen right off...Plus, the shroud would have been smeared severely with ointments...And even had the shroud been washed numerous times there still would have been residue from the ointment in the fibers...
The ointment was never put on in the first place. See your Bible for the explanation as to why.