Object moves when I switch from edit mode to object mode?

I’m working on the rig for a character (my first one) and I have the rig where I want it in edit mode. But, when I switch to object mode, the rig (not the mesh) moves away from where it was positioned in edit mode. I thought it might be an issue with the center/origin, but nothing I’ve tried so far has worked. Any ideas on how to prevent it from moving?

You either have some improperly set-up bone constraints that are causing it to move, or you have moved and keyframed some bones in Pose Mode. Most likely it’s bad bone constraints. IK would be my first guess. But with such a vague description, no .blend file and not so much as a screenshot, all anyone can do is guess.