If a ‘97 gets put on “half cock” ya can’t move anything and the action release button won’t work either. Being VERY careful, in case it’s loaded, either move the hammer to full cock and, using the action release button, push the slide a fraction towards the muzzle, then open the gun by pulling it rearward, or lower the hammer all the way down, push the pump handle a fraction towards the muzzle, then back opening the action
These are really cool old guns, but they have some quirks!