you can wrap a hot rag around it for a few minutes to make the
pvc expand a little before you remove it.
when you put it back in put a small dab of petroleum jelly around the threads ,
this will make life easier in the future ,
can't remember if threads on a valve are counter clockwise or clockwise so go slow till you know for sure.