This command is found at Select->Toggle QuickMask
It has the same action as clicking on the small button in the bottom left corner of the image. See Quick Mask