You can leave at any time. It's not a mandatory stay until the bitter end. If you can make it, I would say any time is better than no time.