Purana Jyotisha Sangraha · by Vyasa
Chapter 4 · Moon at Prabhasa, Mars at Kashi
शिवपुराणम् : कालज्ञानम् उत्पाताः ग्रहक्षेत्राणि च
कस्यायं च पुनर्गर्भस्सोमस्येति च साऽब्रवीत् ।पश्चात्तेन गृहीता सा मया च वारितेन वै ॥ ३० ॥
From the Shiva Purana, print Kotirudra Samhita ch 14, verse 30.
"Then she was asked whose child this was. She said it was the Moon's. Afterwards Jupiter took her back, as I had urged him."
Simple meaning: The text says Tara named the Moon as the child's father and Jupiter took her back.
एवंविधानि चन्द्रस्य दुश्चरित्राण्यनेकशः ।
The text says Brahma felt there was no need to list more of the Moon's wrong deeds.
यज्जातं तत्सुसंजातं नान्यथा भवति ध्रुवम् ।
The text says Brahma will now give a remedy.
प्रभासके शुभे क्षेत्रे व्रजेच्चन्द्रस्सदैवतैः ।
The text says Brahma told the Moon to worship Shiva at Prabhasa.