If a company which you have invested in files for bankruptcy, trading with the stock will be halted until further notice. Bankruptcy restructuring can take an indefinite amount of time during which closure of the position is impossible.
Once the bankruptcy process is complete, a closing price will be declared at which all positions with the said company will be closed.
You will be notified about any updates available.