Turning a share off properly is fiddlier than turning it on.
To remove one share you have to repeat the original flags and add off. The docs say the target is optional, but the other flags are required. After a few experiments that gets annoying, and it is easy to forget what you started.
Look first, then wipe:
tailscale serve status
tailscale serve reset
status prints what this machine currently shares. reset clears the whole Serve configuration in one go. Funnel has the same pair: tailscale funnel status and tailscale funnel reset.
If you only want to drop a single path, the targeted form still exists, for example tailscale serve --https=443 --set-path=/foo off.
The caveat is the obvious one. Reset does not ask which share you meant. If something on the machine relies on a Serve rule you forgot about, it stops working until you set it up again. I would read the status output before I press enter.
My habit is to run serve status every time I sit down at a machine I have not touched for a while. It takes a second and it answers the question of what this box is offering the tailnet.
Further reading: tailscale serve, tailscale funnel, On this site: add –bg to tailscale serve so it survives a reboot, On this site: Funnel only listens on ports 443, 8443 and 10000