If you remove a plug wire either from the spark plug or from the cap, do you need to ground the wire or electrode from the cap to prevent damage to ignition system?
Does it matter if its short term for testing or if you break a plug wire and don't have a replacement and still need to use the vehicle?
Grounding the wire would be bad. The coil is made to jack up the voltage so high that a spark will jump across the air gap at the spark plug. If you ground it, you take away that high resistance the air gap provides. It would be a direct short with almost no resistance, and too much current will flow. This will heat up and eventually destroy the coil. Generally, as your plugs and wires wear out, resistance increases and your engine runs worse. Parts can handle less current, not more.
If you have no spark and you run it for a while, two things will happen that come to mind. First unburned fuel will get into your oil diluting it. Second, that unburned fuel will get to your catalytic converter and burn there. So much so , the temperature will rise so high that the honeycombs inside will melt and you will have to replace it. Both these problems can be averted if you could unplug the injector wire for that cylinder.
Short term testing by unplugging a spark plug wire while in your garage for a minute should not cause any problem.