A damsel in distress is a helpless woman who needs to be rescued, so the simile is implying that Milton is helpless and needs to be rescued.
Consider the statement "Milton helplessly turned back to his computer, scrunching his eyes in a moody manner.". Is the statement "Milton scrunched his eyes and moodily turned back to his computer like a damsel in distress." false? Yes/no/unknown