Rollback returns both the main and temporary stores to their former state.
Transaction rollback releases all locks held by the transaction.
Rollback to a savepoint releases all locks acquired after that savepoint.
Transaction rollback closes all cursors. It does not matter whether the cursor was opened in the transaction being rolled back, or in an earlier transaction.
Rollback to a savepoint closes all cursors opened after that savepoint.