Sort it out. When it's stuck up and you turn the game off. Does it drop ? Then it's electrical. No it doesn't drop, then it's mechanical.
And mechanical can include magnetized parts, and the coil pulls it in different than your finger.
Also if mechanical, pull the plunger out of the game and see if it wiggles freely, and the coil stop and front bracket holding the coil, be sure they are lined up straight and you don't have a deformed one leaning in or out.
LTG : )