The Infallible Imam has the maximum knowledge which is continuation of the knowledge of the Prophet (SAWA) which is from Allah , and has the absolute obedience of Allah (SWT) in each and every act he does and word he alters. Infallible Imam can never be away from the Twelve Imams mentioned by the Prophet Muhammad (SAWA).
Wassalam.