If rollback is absolutely necessary then one way to achieve this could be (say in a scenario where you are upgrading to the next version)
back up existing cluster https://learn.microsoft.com/en-us/azure/backup/azure-kubernetes-service-cluster-backup
then restore https://learn.microsoft.com/en-us/azure/backup/azure-kubernetes-service-cluster-restore