Looks fine in Edit Mode, distorted in Object Mode

I’ve was working on fixing the topology of a mesh in Edit Mode and forgot to un-parent it from the armature. Now when I go to Object Mode it looks distorted, but when I switch back to Edit Mode it looks fine again.

How do I get rid of this?

edit : check the modifiers

If the armature is still posed it will, of course, distort the mesh. You can try reseting the armature to rest. Select armature, pose mode, ‘A’ select all, alt-S enter, alt-R enter, alt-G enter.