The baby whale reached the boy, it swimmed with him for a while and suddenly...

The baby whale reached the boy, it swimmed with him for a while and suddenly turned and opened and closed his mouth

Is this correct ?

Hi, Volcano1985.
‘SWIM’ is an irregular verb - SWIM /SWAM / SWUM -

“The baby whale reached the boy, SWAM with him for a while, THEN suddenly turned and opened and closed its mouth”