The provision lists three acts: freeing a person, inducing that person to escape, or helping the person to escape. Each is a distinct form of conduct. Which one may apply depends on what the accused person did and how that contribution related to the escape.
For an alleged release, the specific sequence of events must be established. Inducement requires an assessment of how the prisoner was influenced. For assistance, the alleged support and its timing matter. Knowing the person or being present does not answer those questions by itself.
Section 300(1) StGB provides for a custodial sentence of up to two years. This statutory maximum does not predict the sentence in an individual case. That depends on the offence established, culpability, and the general sentencing rules.