It won't cancel automatically as i know. For getting refund you can file tdr or if you want to travel, inform TTE onboard and travel by adjusting in the confirmed berth you have, till he provides an alternate accomodation.
If you cancel, you will get refund for WL ticket only.