The opposition says María Corina Machado was then freed on the eve of President Nicolás Maduro's inauguration.