The Indonesian government initially tried to dissuade coastal residents from returning to their homes and considered a two-kilometre (more than a mile) exclusion zone.