#for windows:
Press Windows key + R, ‘RUN’ box will appear.
Type services.msc in the Run box and hit enter.
Services window will open, search for postgresql-13. Here 13 is the version of PostgreSQL installed in the window machine.
Right-click on the postgresql-13 and click on the restart option.
The services will restart now.
This is how we can restart PostgreSQL services in windows machines.
#source: https://sqlserverguides.com/restart-postgres/