Removing the server from the tree is relatively simple process.
LOAD NWCONFIG (if netware 4.x, LOAD INSTALL)
Choose "DIRECTORY OPTIONS"
Choose "REMOVE DIRECTORY SERVICES FROM THIS SERVER"
You'll have to confirm it several times, and log in as admin, but that's all there is to it.
As to your licenses, if this is a netware 5 server, you need only go into NWADMIN, find the license objects, and assign them to a different server. I beleive you can also do this with NWCONFIG.
For Netware 4.x, you use a the license diskette, go to the server where you want to put the licenses, and use INSTALL to add the licenses.
HTH