Though it's not clear here, Hinata was able to get herself and Naruto away from Anko via a Substitution Jutsu.