Natyashastra
निष्क्रामेद्यश्च तस्माद्वै स तेनैव तथा व्रजेत् । यतस्तस्य कृतं तेन पुरुषेण निवेदनम् ॥ १२॥
The one who exits from there should proceed in the same manner, as the introduction made by that person is considered valid.
english translation
niSkrAmedyazca tasmAdvai sa tenaiva tathA vrajet । yatastasya kRtaM tena puruSeNa nivedanam ॥ 12॥
hk transliteration by Sanscript