You'll have to pull the stock, as you said. You should find a 1/8" diameter or perhaps a bit smaller rod running from the safety to the slide at the end of the cocking mechanism. When the slide pushes back on opening, the small rod pushes the safety to the proper position. Just reach in and pull, the rod comes right out. Save it for future restoration of the feature. That's all there is to it.