Short answer
HubSpot's KB: unpublishing stops submissions without deleting the form; existing submissions and analytics stay. Share links and embeds show "This form is no longer accepting submissions." You can republish at any time.
1. In HubSpot
The relevant screen in my demo portal.

2. Worth knowing
Useful for event registrations after the event ends.