She did freeze her own kingdom, many people were suffering, she tried to murder guards who wanted to bring her down and eventually basically murdered Anna in an anger by freezing her heart. The woman has obvious anger problems and is dangerous to her surrounding. It was a right decision to jail her so she can’t hurt anyone else