Is gather used to mean the same thing in the next two sentences?

Be careful not to stretch or gather your knitting.

If you want to emphasise the shape, it is possible to gather the waistline.
the same meaning