Thanks for the command. Its my USB for scripts. I run scripts from that location. Didn't have problems until this script. I tried shutdown without the USB and no problem.
Copy the scripts from another location on another HD and tried reformatting and see what happened without the scripts. Well the ZFS format of the USB drive, cause the same problem when shutdown. When I formatted in UFS, no problems with shutdown. I will check to see if the scripts matter when I put them back on.