Hi @ajay_ps,
Are you also using MongoDB 5.0 on a Raspberry Pi 4? If not, please start a new topic with more details about your environment including specific your specific versions of MongoDB, O/S, and hardware architecture (eg arm64, x64, …). It would also be helpful to include any relevant log messages prior to the mongod process shutting down.
If you definitely have a similar environment and might be encountering the same issue (for example, identical exit code), you could post a log snippet here to help correlate the issues.
However, generally it is best to start a separate topic so we can focus on your issue rather than combining discussions that may be addressing different issues.
Thanks,
Stennie