That’s not enough. You don’t get to just pay it back and get off without punishment. Stealing the money was wrong to begin with and restitution is only the first and a small part of a punishment. You don’t get to walk away if you steal a car, but give it back when you get caught. $50k is no different.