In short, you cannot delete an active theme directly from the WordPress dashboard. You need to first switch to a different theme and then deactivate the theme you wish to delete.