Gracefully shutdown catch up subscription

Hello,

I have multiple catch-up subscriptions that I use to publish event to azure event grid. This is a standalone process by itself. All the events are strong type c# record classes

I have the following requirement. I need to add new events to the strong type nuget package. How can I gracefully shutdown the catch up subscription, update the container, restart the container to continue publish events.

I don’t want to loose any events…

Thanks

Where you keep the checkpoint for the subscription?