dumb pistol question
Pulling the trigger while racking the slide won't work in a pistol. Semi auto pistols have a 'disconnector' which disconnects the trigger from the action and allows the sear for the striker to reset. This is similar in almost all semi auto designs. It's what allows the hammer or striker to remain cocked without going full auto while the trigger is held.
I seriously wouldn't worry about it - or like I said, remove the slide. You'll get your snap cap back, you'll know the gun is in a safe condition, and no springs will be compressed (including the action spring in many cases). Just do yourself a favor and zip up the whole thing into a soft case so nothing gets lost.