Leave (someone) high and dry

To leave someone in a difficult position.

The employees were left high and dry when the company went out of business.