Shouldn’t you remount it read-only again at the end?
Edit: Never mind, the reboot takes care of that already.