Valmiki Ramayana Yuddha Kanda Sarga 66 Shloka 15
Original Shlokaवध्यमानास्तुतेवीराराक्षसेन च लीलया । सागरंयेनतेतीर्णाःपथातेनदुद्रुवुः ।।6.66.15।।
1 source checked for this shloka
राक्षसेन by Rakshasas, लीलया struck by, वध्यमानाः struck by, तेवीराः those heroes, येनपथा by the path, सागरम् ocean, तीर्णाः crossed, पथातेन by the same path, दुद्रुवुः ran.
Struck by Rakshasa, the Vanaras ran in the same path crossing the ocean (by which they came).