No, they don't. Cashed-out bets, returned bets, and cancelled bets don't contribute towards meeting the wagering requirement.