Venezuela opposition leader Maria Corina Machado was briefly arrested after appearing in public for the first time in months.