With the upcoming release of Raya and the Last Dragon, it seems that Disney does not have any immediate plans for another 2D feature, and they will likely continue to make 3D animated movies as long as they continue to be successful.
Will 2D animation ever come back?
The simple answer is, probably not. The reason 2D in the film industry has been in decline is that people have just gotten used to such high quality complex rendering from the films they watch, it's hard to go back.
Is 2D animation dying?
2D animation is very much alive and well, but just not in the way we think… Mainstream theatre releases have disappeared since the Princess and the Frog in 2009, and Disney favoured 3D films with Tangled and Frozen becoming huge hits.