If you place a Trifecta bet (a bet on three horses to win the first three places in the exact order) and one or more horses withdraw, the bet will remain active on the remaining odds and the betting site will refund your stake on the non-runners/horses. Likewise, if all three horses are non runners, the betting site will return your whole bet to your balance.