Uganda's former prime minister and opposition leader Amama Mbabazi has called his arrest "shameful", following his release Thursday evening.