Does word "gather" have the same meaning in the following two sentences?

Gather the close family members.

Be careful not to stretch or gather your knitting.
the same meaning