Complex sentence: She instructs them to cross Venganoor by night and when they are about to leave Thirumukhathu Pilla arrives there and identifies the prince.
Split into simpler sentences: She instructs them to cross Venganoor. When they are about to leave Thirumukhathu Pilla arrives and recognizes the prince.