Piece of cloth with Royal Navy button, captain's rank [1795-1812]

One side of the button has: "W&R Smith Treble Gilt. Standard Colour". The other side has a picture of an anchor. Identical items can be found in the Greenwich Maritime Museum catalogue.