All my notes have disappeared suddenly

Did you just update to macOS Sonoma? A bunch of people are having the issue of iCloud-synced vaults not loading because the iCloud folder was reset to cloud-only.