You can't leave a group text on your Android phone, but you can still mute or delete the thread in your Messages app.
There are two ways to clear Messenger's cache, depending on whether you're using an Android, or an iPhone or iPad.