Once the guards past he jumps up and then quickly dives back into the shdows as he waits for the guards to pass again. Once they do he sneaks into the castle and followes his trail from the last time he got in.