When you tick freeze a world it'll unfreeze when you quit and rejoin it.
This isn't ideal as you may have frozen the world due to working on something that'll break as soon as the world starts ticking.
Reproduction steps
do /tick freeze
leave the world and rejoin it
Observed results
the world gets unfrozen when you rejoin it
Expeced results
the world would remain frozen
Thank you for your report!
We're tracking this issue in MC-266074, so this ticket is being resolved and linked as a duplicate.
That ticket has already been resolved as working as intended, which means this is not considered a bug and won't be fixed. Please do not leave a comment on the linked ticket.
If you haven't already, you might like to make use of the search feature to see if the issue has already been mentioned.
Quick Links:
📓 Bug Tracker Guidelines – 💬 Community Support – 📧 Mojang Support (Technical Issues) – 📧 Microsoft Support (Account Issues)
📓 Project Summary – ✍️ Feedback and Suggestions – 📖 Game Wiki