Plumbers re-piped the house's galvanized pipes with PEX. Ran a PEX stub out for the toilet supply and put a valve on it. 6 months later, the valve leaks. I want to replace the fitting with a sharkbite connector, but I don't know how to remove the existing fitting. Is it crimped to the PEX out of the wall such that it has to be cut off, like a compression fitting? Or is there some way to release the valve? See photo. I painted the PEX and fitting white so it would blend in better (and to protect the PEX from UV degradation).
1) The Pex could be attached to a brass or plastic fitting that screws into the valve. If so, you can unscrew it. This is an unlikely setup.
2) The present setup might use a Sharkbite-like fitting, if it is the removeable type, it can be removed by pushing in evenly on the plastic ring and popping out the PEX. If this was installed by a plummer it's unlikely he used a Sharkbite.
3) The most likely situation is that the valve has a male end that goes inside the PEX. The plumber could have expanded the PEX with a special tool ( a "Wirsbo expander") to put it on or, more likely, there's a metal band around the outside of the PEX (a "crimped" copper band or a "cinched" stainless steel clamp around it. If it has a meta clamp, you
could just apply a new metal band if you have (or can borrow) the specialized tool. If you want to use a Sharkbite, then I think you'll need to cut off the PEX as close to the fitting as possible and start with PEX that hasn't been expanded/distorted inside the fitting.
Gotta be careful not to cut things off too close to the wall, or your options will be unattractive.
Check to see if there's a way to turn off the water in this PEX line. When plumbers install PEX plumbing, they often install a single manifold with a lot of "home run" lines that go to individual fixtures or rooms. This is a bit like a circuit breaker box for electricity--one place where the water can be turned off to a particular room. Doing things this way is a major advantage of PEX plumbing.