Welcome to OTT. Sorry that a problem brought you here, but hopefully you will find this a great place to spend time. There are great people here.
When you say that it won't come out of 4WD, can you explain your circumstances more?
Typically, when using a tractor in 4WD, you get what's called driveline windup. When turning, the front tires travel a different arc than the back tires, and because the front is mechanically linked to the back, tension builds up. That is why, when turning tight, one of the tires, usually an inside tire, will spin a little- the surface that the tire is on gives before something breaks. Because of this, it is often necessary to reverse direction to disengage 4WD. This actually unwinds that tension built up in the driveline. Without knowing your circumstances, I don't know if your problem is this simple. Have you always owned the tractor? Is it possible that the tires aren't correct for the tractor, and the rotational difference is keeping it bound up?
Sometimes, when a 4WD hasn't been used in a long time, things get stiff, and are hard to engage and disengage. I don't know if that is your case.
And sometimes, things break internally. Perhaps it won't disengage because it can't. It may be that the transmission has to be opened up- hopefully that isn't the case.
I don't know if this has been helpful, but any further information that you could give would be helpful in working towards a diagnosis.