Depends on who the team is managing the ICO. if early the ICO intends to deceive investors (scam), money that you invest will not be returned. I've seen some ICO failed to softcap sell, some investors' funds were returned and some were not.
Before you invest in an ICO, it is recommended that you first recognize the ICO rating will be successful or not. Maybe one of them is from the team, a product logic (physical product or not), whitepaper, ICO community and others.