with the wermacht gradually grinding the pocket smaller and smaller , hard-pressed allied morale collapsed entirely , with officers melting away and troops throwing aside their weapons and racing each other for places on the few remaining ships out .