Complex sentence: At night, it will remain coiled on its branch, but extends its head downwards.
Split into simpler sentences: At night, it will remain coiled on its branch. But extends its head downwards.