If you mean stop manufacturing Internal Combustion Engines, Toyota have said many times, they do not intend to "catch up to everyone else" with EVs. They have the luxury of sitting and watching their competition leave the market, thus leaving Toyota's road to great profits wide open.
Only works if the competition does indeed leave the market. The risk of staying out while everyone else embraces the next generation technology is a reduction in customer loyalty. Every current Toyota owner who buys a competitor's product is potentially someone who will switch loyalties going forward.