So I screwed up and alerted the guards. They came looking for me and fortunately I am a master of hiding, so they didn't find me. Now when this happens, guards' status changes from hunting to cautious. It, however, stays on cautious and their icons on the minimap show orange.
How long do enemies/guards stay in this status? When is it safe to go about my business without them being alert of my presence?