Are the operators in pd written to disk?

Such as ‘add-peer’。
If it`s not, what if the pd is switched during the add-peer process?