I’m afraid this is not possible as of because how Zammad functions in said situation.
The maintenance mode forbids all sessions that are not from administrators. When taking over a user, in that specific situation, your session does not come with administrative permissions.
You can workaround this by clearing your cookies or disabling the maintenance mode.
I honestly am not sure if we should thread this as a bug, it’s kinda edgy.