Hi,
Should be safe to stop both snapshot and log reader agents.
Start and Stop a Replication Agent (SQL Server Management Studio)
https://learn.microsoft.com/en-us/sql/relational-databases/replication/agents/start-and-stop-a-replication-agent-sql-server-management-studio?view=sql-server-ver15
Then as long as you don't have any long running transactions you can restart the SQL Server using the console or shutdown command during a low activity period or during a maintenance window.
A clean shutdown of an SQL Server occurs in below scenarios :
- Stop SQL server using services console.
- Shutting down your server
- Running "SHUTDOWN" command in SSMS
Best regards,
Leon