STUART — A man accused of letting it all hang out in the pillow aisle of Walmart got locked up, according to an affidavit.

Dennis Palmer, 31, was jailed on an exposure of sexual organs charge after the Jan. 10 caper.

More: Deer-antler wielding, eye-gouging caper in Palm City

Stuart police went to the Walmart in the 4000 block of Southeast Federal Highway “in reference to a black male exposing himself … in the pillow aisle,” the affidavit states.

Palmer, of Stuart, was identified as the person evidently doing more than just browsing for bedding.

Palmer asked why he was being detained.

An officer said it was because of a report his penis was exposed and that he touched himself inappropriately.

More: Ponce De Leon, Betsy Ross jailed on Treasure Coast

Palmer said “he was just itching himself because he has crabs.”

When police reviewed surveillance video, they reported seeing “rubbing” and activities other than “itching.”

“This continued for several minutes,” the affidavit states.

More: 'Grinch' has sex in bathroom, wrecks Xmas decorations

Palmer was taken to the Martin County Jail.

Asked what he was thinking, Palmer told an officer “he wasn’t thinking, but he should have been thinking.”

Want more "Off The Beat" coverage? If you already subscriber to TCPalm, thank you! If not, please subscribe to keep coverage of Treasure Coast "Off The Beat" news coming.