Flounder to shrivel up, moving tail forwards (6)

I believe the answer is:
writhe
'flounder' is the definition.
The answer and definition can be both to do with motion as well as being verbs in their base form.
Maybe they are linked in a way I don't understand?
I can't explain the remainder of the clue.
Can you help me to learn more?
(Other definitions for writhe that I've seen before include "It's painful moving" , "Wriggle" , "Twist in agony" , "Squirm in pain" , "Contort in pain" .)
