Depending on how the forum was set up, tags can exist in several or most/all categories.
I think it would be a really nice ux improvement if when a user opens a tag, then changes to a category which the tag also exists in, that the tag will stay applied instead of being cleared out.