Don't confuse detachment with standing for your M.
Leaving your ring on shows everyone that you still proclaim that you are married. Being detached means that you have stopped letting your wife's words and actions dictate how you will proceed from this point. (and you have much work to do to become detached). Your ring has nothing to do with detachment.
You don't take your ring off to show your W anything - you cannot possibly know how she will interpret that one way or the other. A ring is a personal statement made by the person wearing it, and this has been true since the day you first put it on. Don't worry about what your W may think it means; I could argue bad wayward logic that would make you believe either choice is correct.
As Bond said, it's a personal decision. Many of us have asked the same question at some point. For me, it's clear. I wear my ring because I am married; it's a symbol of the eternal nature of my vows. I will wear it until I am no longer married.