Hi.
Something like
docker stop <gitea_container_name>
docker start <gitea_container_name>
should do.
Actually, I don’t understand why you want to stop the container to back it up. Simple replication of the dataset with volumes/bind mounts should be enough. You would probably need a custom app deploy for that, though (because IIRC standard apps’ volumes dataset is hidden).