Man shot after refusing to obey alleged robber