Atharvaveda Parishishta (Jyotisha Selections) · by Vedic sages (Atharvaveda)
Chapter 6 · Comets
केतुचार
दत्त्वा वा पृथिवीं सर्वां राजा शान्तिं नियच्छति ॥राजा शान्तिं नियच्छतीति ॥
In the full Atharvaveda Parishishta this is Parishishta 54, 2.7.
Or the king may give away the whole earth, and so gain peace.
Simple meaning: A king who gives away all his land is said to gain peace from the comet's harm.
माहेन्द्रीममृतां रौद्रीं वैश्वदेवीमथापि वा ।
For portents the text names four great peace rituals: Mahendri, Amrita, Raudri and Vaishvadevi.
आराधिताः शमं यान्ति तदुत्पाता न संशयः ।
The text says portents calm down through fire offerings, prayers and many kinds of gifts.
तस्य यत्र शिरो देशे तत उत्थाय वाव्रजेत् ।
The text says to leave the land under a comet's head, or give up wealth; escape is not sure.