Can you be shocked by an AED accidentally?

It’s very unlikely. AEDs are built with numerous safety features and will only deliver a shock if they detect a specific, shockable heart rhythm. They do not allow the user to manually override this function.