Unscrew it, counterclockwise.
You sure it's a twist one I dont want to break itPull down rubber boot if you need to, several layers of tape and a big set of pipe tongs to hold the shaft. They can be to put it bluntly, bloody tight to get to start moving. Last one I had to remove on a 3rd gen took the apprentice holding the shaft and me with some foot long slip jaw pliers to unscrew it. How they get that tight I don't know, but don't be surprised if you have a battle and learn new words.
Or you give it a twist and it unscrews nicely. Hopefully.
Yep, it will fight back, my 2013 was very tight first 90 degrees then it was super easy. Fordem will confirm if the xl7 has a rubber vibration section in the gear shift shaft, you don't want to twist the shaft too hard without support as you can damage that section, or the shift ball that is in the gearbox.You sure it's a twist one I dont want to break it