The future of a historic building owned by a town council has been thrown up in the air after the shock closure of a popular pizza restaurant.