It sounds like the 4wd just took a while to be disengaged. If you disengage it while driving sometimes there will be too much pressure for it to realease. When it does it will pop out of gear kinda hard. Nothing to worry about but you should always try to be in neutral when shifting out of 4wd