have to relog to swap weapons
You were probably in combat and didn’t know it. If a mob aggros on you and then gives up and returns to its spawn, you will remain in combat if you remain within a certain range- even while the mob is sitting there passively.
A good way to tell if you are in combat is to look at the utility skills. If the little arrow is at the top allowing them to be changed, you are out of combat. Otherwise the game has you in combat mode. No harvesting tool changes, weapon changes, or skill changes are allowed.
Thief main plus a few alts – Sanctum of Rall