Clicking on the 'Delete' button will flag the selected groups with a trash icon in the grid as a preview before you click 'Save' to commit your changes.

Deleted Microsoft 365 groups and Teams will be sent to the Recycle Bin, and are kept there usually for 30 days with the option to restore them or to delete them permanently.