Yes! The first scenario (which applies if the only coordinator tries to leave the group) redirects to the group page and the second scenario (which applies if the only coordinator tries to remove their coordinator "privileges") redirects to the edit memberships page.