TeamCity allows you to commit changes manually, even if a remotely run build is failed or if you did not use the automatic pre-tested commit option.
To commit changes manually:
Open My Changes tab in TeamCity Tool Window.
Right-click on the changelist you want to commit and in context menu click Commit.
Type comment for the commit in the Commit Personal Build Change dialog and click OK button.