Please, i have one Replica Set with PSA Architectury and I need stop all this cluster. I think, read the documentation, only stop the PRIMARY and the others nodes (SECONDARY and ARBITER) stop too. Is this true?
The shutdown command only shuts down the mongod or mongos process you are connected to. You need to shut down each member of a replica set individually.
If you shut down the primary for a replica set, the remaining members will try to elect a new primary if possible.
If you plan to shut down all members of a replica set deployment, I would start with the other nodes (arbiter and secondary) and shut down the primary last in order to avoid any unnecessary election attempts.