Is the word "slack" used in the same way in the following two sentences?

Suddenly they were in a slack and the water was motionless.

A gradual slack in output.
different meanings