Any phrase to describe this situation?

'Left holding the bag' seems to be what you're after, particularly in the context of finance. See: investopedia.com/terms/b/bag-holder.asp and en.wikipedia.org/wiki/Bagholder.