After stopping Portainer, it liberates memory and doesn’t take any CPU any more.
Later, if you need Portainer, you just start it and, when finish, you stop it.
--restart always
will always keep Portainer running, no matter if you use it or not.
Michel-André