if you are on Xamarin.Forms (if not let me know and I'll update the answer because it's not that simple), in the IMvxNavigationService you have the ChangePresentation(...) method which uses a hint object to tell the framework what you want to do.
Task<bool> ChangePresentation(MvxPresentationHint hint, CancellationToken cancellationToken = default(CancellationToken));
Here you have the different out-of-the-box hints that the framework provides.
To address your issue you can just use MvxPopPresentationHint:
_navigationService.ChangePresentation(new MvxPopPresentationHint(typeof(A)));
or if A is your root ViewModel, you can just use MvxPopToRootPresentationHint:
_navigationService.ChangePresentation(new MvxPopToRootPresentationHint());
HIH
IMvxNavigationService Closewould close the specific viewmodel. Please check the link below. github.com/MvvmCross/MvvmCross/pull/3063 - Wendy Zang - MSFT