I don't know about being "dressed as a Muslim" but he sure faked an Arab accent in speaking to his co-national captors. What an idiot!
Maybe he was just a 'Molly Pitcher Wanna-Be? LOL!
Her real name was Mary Ludwig Hayes. She was born in 1754 in New Jersey. She earned her nickname by bringing pitchers of water to the troops. She fought in the Battle of Monmouth. She died in 1832.