Don’t refreeze beans that you’ve already thawed. That’s a one-way ticket to Food Safety Jail. Use them within a day or two after thawing.
Also, if your beans smell weird or look slimy after thawing, do not eat them. Even beans have limits. Trust your nose—it knows things.
And please, for the love of all that is beany, don’t put a steaming hot glass container in the freezer. It will shatter, and you’ll have a mess that’s 90% beans and 10% regret.