if we are interested in staking with the aim of getting passive income, then to anticipate what you are worried about, namely by putting some coins for staking, so that if the pump occurs when the contract has not been completed, we can still sell some of our free assets. indeed there is a risk that must be borne because of staking, and that is one of them, on the other hand we must find a good platform for staking, so that our funds are safe
If you decide to stake your assets at a certain time, I think you must have taken into account market conditions at the time you plan to stake.
If indeed you are staking for a long time, of course, you cannot be affected by market conditions. whether it's a pump or a dump.
if you sell the assets you receive from staking, even then I don't think it will be much. You have to be consistent in planning the time you use when staking your assets.