Animation mismatch after simulating physics

I have a character that is holding a weapon .Weapon is a skeletal mesh with its own animation and it matches the character animation. I made him drop the weapon and set “set all bodies below simulate physics” node to true on weapon to simulate physics on it .After some delay I set “set all bodies below simulate physics” node to false on weapon to stop simulating physics on it and attached it back to character.The Animation of character and weapon matches if character is standing while dropping and picking the weapon but if character is moving weapon animation does not match.All suggestions are appreciated .Thank you

.