Yes, whenever you like. Settings → Security → "Download your data" builds a ZIP containing your entire vault (mail, calendar, notes, and tasks as portable markdown), your full conversation history, your usage data, and your settings. The download link lasts 24 hours.
It's your data — leaving with it is a feature, not a negotiation. See Data Retention & Deletion.