Just out of curiosity. Is the President subject to the UCMJ? He is in fact a member of the Military chain of command.
The answer is no, he is not. Yes he is the NCA (National Command Authority) but he is elected as a civilian and is not a member of the uniform services. The same applies to the VP & Secretary of Defense who are also in the chain of command.